home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World Book 1998 1.0 (Macintosh)
/
World Book 1998 Macintosh CD1.iso
/
QuickTime Installer
/
QuickTime™ Pieces
/
SimpleText
/
SimpleText.rsrc
/
bin.rsrc_CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1997-05-30
|
584KB
|
10,536 lines
# near model CODE resource
# jump table entries: 0-52 (53 of them)
fn00000000:
00000000 4E56 FFF8 link A6, -0x0008
00000004 48E7 1820 movem.l -[A7], D3,D4,A2
00000008 206D FD0E movea.l A0, [A5 - 0x2F2]
0000000C 7010 moveq.l D0, 0x10
0000000E D1C0 add.l A0, D0
00000010 43EE FFF8 lea.l A1, [A6 - 0x8]
00000014 22D8 move.l [A1]+, [A0]+
00000016 22D8 move.l [A1]+, [A0]+
00000018 302E FFFE move.w D0, [A6 - 0x2]
0000001C 48C0 ext.l D0
0000001E 362E FFFA move.w D3, [A6 - 0x6]
00000022 3203 move.w D1, D3
00000024 48C1 ext.l D1
00000026 9081 sub.l D0, D1
00000028 7801 moveq.l D4, 0x01
0000002A E8A0 asr D0, D4
0000002C D043 add.w D0, D3
0000002E 2440 movea.l A2, D0
00000030 554F subq.w A7, 2
00000032 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000036 A88C syscall StringWidth
00000038 301F move.w D0, [A7]+
0000003A 48C0 ext.l D0
0000003C E8A0 asr D0, D4
0000003E 3200 move.w D1, D0
00000040 200A move.l D0, A2
00000042 9041 sub.w D0, D1
00000044 3F00 move.w -[A7], D0
00000046 3F2E 000C move.w -[A7], [A6 + 0xC]
0000004A A893 syscall MoveTo
0000004C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000050 A884 syscall DrawString
00000052 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000056 4E5E unlink A6
00000058 4E75 rts
0000005A 4E56 FF00 link A6, -0x0100
0000005E 48E7 1020 movem.l -[A7], D3,A2
00000062 4267 clr.w -[A7]
00000064 A887 syscall TextFont
00000066 700C moveq.l D0, 0x0C
00000068 3F00 move.w -[A7], D0
0000006A A88A syscall TextSize
0000006C 486E FF00 pea.l [A6 - 0x100]
00000070 3F3C 00C8 move.w -[A7], 0xC8
00000074 7601 moveq.l D3, 0x01
00000076 3F03 move.w -[A7], D3
00000078 4EBA 5E06 jsr [PC + 0x5E06 /* 00005E80 */]
0000007C 7020 moveq.l D0, 0x20
0000007E 3F00 move.w -[A7], D0
00000080 486E FF00 pea.l [A6 - 0x100]
00000084 4EBA FF7A jsr [PC - 0x86 /* 00000000 */]
00000088 5C4F addq.w A7, 6
0000008A 3F03 move.w -[A7], D3
0000008C A887 syscall TextFont
0000008E 7009 moveq.l D0, 0x09
00000090 3F00 move.w -[A7], D0
00000092 A88A syscall TextSize
00000094 486E FF00 pea.l [A6 - 0x100]
00000098 3F3C 00C8 move.w -[A7], 0xC8
0000009C 7002 moveq.l D0, 0x02
0000009E 3F00 move.w -[A7], D0
000000A0 4EBA 5DDE jsr [PC + 0x5DDE /* 00005E80 */]
000000A4 7032 moveq.l D0, 0x32
000000A6 3F00 move.w -[A7], D0
000000A8 486E FF00 pea.l [A6 - 0x100]
000000AC 4EBA FF52 jsr [PC - 0xAE /* 00000000 */]
000000B0 5C4F addq.w A7, 6
000000B2 486E FF00 pea.l [A6 - 0x100]
000000B6 3F3C 00C8 move.w -[A7], 0xC8
000000BA 7003 moveq.l D0, 0x03
000000BC 3F00 move.w -[A7], D0
000000BE 4EBA 5DC0 jsr [PC + 0x5DC0 /* 00005E80 */]
000000C2 7041 moveq.l D0, 0x41
000000C4 3F00 move.w -[A7], D0
000000C6 486E FF00 pea.l [A6 - 0x100]
000000CA 4EBA FF34 jsr [PC - 0xCC /* 00000000 */]
000000CE 5C4F addq.w A7, 6
000000D0 486E FF00 pea.l [A6 - 0x100]
000000D4 3F3C 00C8 move.w -[A7], 0xC8
000000D8 7004 moveq.l D0, 0x04
000000DA 3F00 move.w -[A7], D0
000000DC 4EBA 5DA2 jsr [PC + 0x5DA2 /* 00005E80 */]
000000E0 7050 moveq.l D0, 0x50
000000E2 3F00 move.w -[A7], D0
000000E4 486E FF00 pea.l [A6 - 0x100]
000000E8 4EBA FF16 jsr [PC - 0xEA /* 00000000 */]
000000EC 5C4F addq.w A7, 6
000000EE 486E FF00 pea.l [A6 - 0x100]
000000F2 3F3C 00C8 move.w -[A7], 0xC8
000000F6 7005 moveq.l D0, 0x05
000000F8 3F00 move.w -[A7], D0
000000FA 4EBA 5D84 jsr [PC + 0x5D84 /* 00005E80 */]
000000FE 700A moveq.l D0, 0x0A
00000100 3F00 move.w -[A7], D0
00000102 7669 moveq.l D3, 0x69
00000104 3F03 move.w -[A7], D3
00000106 A893 syscall MoveTo
00000108 486E FF00 pea.l [A6 - 0x100]
0000010C A884 syscall DrawString
0000010E 486E FF00 pea.l [A6 - 0x100]
00000112 3F3C 00C8 move.w -[A7], 0xC8
00000116 7006 moveq.l D0, 0x06
00000118 3F00 move.w -[A7], D0
0000011A 4EBA 5D64 jsr [PC + 0x5D64 /* 00005E80 */]
0000011E 206E 0008 movea.l A0, [A6 + 0x8]
00000122 3028 0016 move.w D0, [A0 + 0x16]
00000126 72F6 moveq.l D1, 0xFFFFFFF6
00000128 D041 add.w D0, D1
0000012A 2440 movea.l A2, D0
0000012C 554F subq.w A7, 2
0000012E 486E FF00 pea.l [A6 - 0x100]
00000132 A88C syscall StringWidth
00000134 321F move.w D1, [A7]+
00000136 200A move.l D0, A2
00000138 9041 sub.w D0, D1
0000013A 3F00 move.w -[A7], D0
0000013C 3F03 move.w -[A7], D3
0000013E A893 syscall MoveTo
00000140 486E FF00 pea.l [A6 - 0x100]
00000144 A884 syscall DrawString
00000146 4240 clr.w D0
00000148 4CDF 0408 movem.l D3,A2, [A7]+
0000014C 4E5E unlink A6
0000014E 4E75 rts
00000150 4E56 0000 link A6, 0
00000154 2F03 move.l -[A7], D3
00000156 4243 clr.w D3
00000158 206E 0014 movea.l A0, [A6 + 0x14]
0000015C 3083 move.w [A0], D3
0000015E 3003 move.w D0, D3
00000160 261F move.l D3, [A7]+
00000162 4E5E unlink A6
00000164 4E75 rts
00000166 4240 clr.w D0
00000168 4E75 rts
0000016A 4E56 0000 link A6, 0
0000016E 2F0B move.l -[A7], A3
00000170 266E 000C movea.l A3, [A6 + 0xC]
00000174 41FA FEE4 lea.l A0, [PC - 0x11C /* 0000005A, value 0x4E56FF00 */]
00000178 2748 012A move.l [A3 + 0x12A], A0
0000017C 41FA FFD2 lea.l A0, [PC - 0x2E /* 00000150, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000180 2748 0112 move.l [A3 + 0x112], A0
00000184 41FA FFE0 lea.l A0, [PC - 0x20 /* 00000166, value 0x42404E75 'B@Nu', cstring "B@NuNV" */]
00000188 2748 0136 move.l [A3 + 0x136], A0
0000018C 4240 clr.w D0
0000018E 265F movea.l A3, [A7]+
00000190 4E5E unlink A6
00000192 4E75 rts
00000194 4E56 0000 link A6, 0
00000198 2F0B move.l -[A7], A3
0000019A 266E 0008 movea.l A3, [A6 + 0x8]
0000019E 377C 00C8 0004 move.w [A3 + 0x4], 0xC8
000001A4 16BC 0001 move.b [A3], 0x1
000001A8 41FA FFC0 lea.l A0, [PC - 0x40 /* 0000016A, value 0x4E560000 'NV\0\0', cstring "NV" */]
000001AC 2748 000E move.l [A3 + 0xE], A0
000001B0 4240 clr.w D0
000001B2 265F movea.l A3, [A7]+
000001B4 4E5E unlink A6
000001B6 4E75 rts
fn000001B8:
000001B8 4E75 rts
export_1:
000001BA 4E56 0000 link A6, 0
000001BE 2F03 move.l -[A7], D3
000001C0 206D F070 movea.l A0, [A5 - 0xF90]
000001C4 2050 movea.l A0, [A0]
000001C6 D1ED F074 add.l A0, [A5 - 0xF8C]
000001CA 226E 000A movea.l A1, [A6 + 0xA]
000001CE 362E 0008 move.w D3, [A6 + 0x8]
000001D2 48C3 ext.l D3
000001D4 2003 move.l D0, D3
000001D6 A22E syscall BlockMove/BlockMoveData, flags=2
000001D8 D7AD F074 add.l [A5 - 0xF8C], D3
000001DC 261F move.l D3, [A7]+
000001DE 4E5E unlink A6
000001E0 205F movea.l A0, [A7]+
000001E2 5C4F addq.w A7, 6
000001E4 4ED0 jmp [A0]
fn000001E6:
000001E6 4E56 FFF8 link A6, -0x0008
000001EA 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000001EE 206E 0008 movea.l A0, [A6 + 0x8]
000001F2 43EE FFF8 lea.l A1, [A6 - 0x8]
000001F6 22D8 move.l [A1]+, [A0]+
000001F8 22D8 move.l [A1]+, [A0]+
000001FA 700A moveq.l D0, 0x0A
000001FC A122 syscall NewHandle, flags=1
000001FE 2848 movea.l A4, A0
00000200 554F subq.w A7, 2
00000202 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000206 381F move.w D4, [A7]+
00000208 6600 00A2 bne +0xA4 /* 000002AC */
0000020C 246E 000C movea.l A2, [A6 + 0xC]
00000210 2652 movea.l A3, [A2]
00000212 D7EE 0010 add.l A3, [A6 + 0x10]
00000216 302B 0008 move.w D0, [A3 + 0x8]
0000021A D06E FFFA add.w D0, [A6 - 0x6]
0000021E 906B 0004 sub.w D0, [A3 + 0x4]
00000222 3D40 FFFE move.w [A6 - 0x2], D0
00000226 302B 0006 move.w D0, [A3 + 0x6]
0000022A D06E FFF8 add.w D0, [A6 - 0x8]
0000022E 906B 0002 sub.w D0, [A3 + 0x2]
00000232 3D40 FFFC move.w [A6 - 0x4], D0
00000236 204B movea.l A0, A3
00000238 2254 movea.l A1, [A4]
0000023A 700A moveq.l D0, 0x0A
0000023C A22E syscall BlockMove/BlockMoveData, flags=2
0000023E 2B4A F070 move.l [A5 - 0xF90], A2
00000242 202E 0010 move.l D0, [A6 + 0x10]
00000246 720A moveq.l D1, 0x0A
00000248 D081 add.l D0, D1
0000024A 2B40 F074 move.l [A5 - 0xF8C], D0
0000024E 102D FD79 move.b D0, [A5 - 0x287]
00000252 6708 beq +0xA /* 0000025C */
00000254 486D F0B0 pea.l [A5 - 0xF50]
00000258 AA4E syscall SetStdCProcs
0000025A 6006 bra +0x8 /* 00000262 */
label0000025C:
0000025C 486D F07C pea.l [A5 - 0xF84]
00000260 A8EA syscall SetStdProcs
label00000262:
00000262 262D F100 move.l D3, [A5 - 0xF00]
00000266 2B43 F0A8 move.l [A5 - 0xF58], D3
0000026A 2B43 F0DC move.l [A5 - 0xF24], D3
0000026E 246D FD0E movea.l A2, [A5 - 0x2F2]
00000272 7068 moveq.l D0, 0x68
00000274 D5C0 add.l A2, D0
00000276 2012 move.l D0, [A2]
00000278 2B40 F078 move.l [A5 - 0xF88], D0
0000027C 102D FD79 move.b D0, [A5 - 0x287]
00000280 6708 beq +0xA /* 0000028A */
00000282 41ED F0B0 lea.l A0, [A5 - 0xF50]
00000286 2488 move.l [A2], A0
00000288 600C bra +0xE /* 00000296 */
label0000028A:
0000028A 41ED F07C lea.l A0, [A5 - 0xF84]
0000028E 226D FD0E movea.l A1, [A5 - 0x2F2]
00000292 2348 0068 move.l [A1 + 0x68], A0
label00000296:
00000296 2F0C move.l -[A7], A4
00000298 486E FFF8 pea.l [A6 - 0x8]
0000029C A8F6 syscall DrawPicture
0000029E 206D FD0E movea.l A0, [A5 - 0x2F2]
000002A2 216D F078 0068 move.l [A0 + 0x68], [A5 - 0xF88]
000002A8 204C movea.l A0, A4
000002AA A023 syscall DisposHandle/DisposeHandle
label000002AC:
000002AC 3004 move.w D0, D4
000002AE 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000002B2 4E5E unlink A6
000002B4 4E75 rts
000002B6 4E56 FED8 link A6, -0x0128
000002BA 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000002BE 266E 0008 movea.l A3, [A6 + 0x8]
000002C2 2C3C 3F3F 3F3F move.l D6, 0x3F3F3F3F /* '????' */
000002C8 594F subq.w A7, 4
000002CA A8D8 syscall NewRgn
000002CC 285F movea.l A4, [A7]+
000002CE 2F0C move.l -[A7], A4
000002D0 A87A syscall GetClip
000002D2 204B movea.l A0, A3
000002D4 7010 moveq.l D0, 0x10
000002D6 D1C0 add.l A0, D0
000002D8 2F08 move.l -[A7], A0
000002DA A8A3 syscall EraseRect
000002DC 594F subq.w A7, 4
000002DE A9FB syscall LoadScrap/LodeScrap
000002E0 201F move.l D0, [A7]+
000002E2 3E00 move.w D7, D0
000002E4 6600 01D4 bne +0x1D6 /* 000004BA */
000002E8 4244 clr.w D4
000002EA 41ED F104 lea.l A0, [A5 - 0xEFC]
000002EE 43EE FEEC lea.l A1, [A6 - 0x114]
000002F2 22D8 move.l [A1]+, [A0]+
000002F4 22D8 move.l [A1]+, [A0]+
000002F6 22D8 move.l [A1]+, [A0]+
000002F8 6016 bra +0x18 /* 00000310 */
label000002FA:
000002FA 594F subq.w A7, 4
000002FC 42A7 clr.l -[A7]
000002FE 2F03 move.l -[A7], D3
00000300 486E FEE0 pea.l [A6 - 0x120]
00000304 A9FD syscall GetScrap
00000306 2A1F move.l D5, [A7]+
00000308 6F04 ble +0x6 /* 0000030E */
0000030A 2C12 move.l D6, [A2]
0000030C 601A bra +0x1C /* 00000328 */
label0000030E:
0000030E 5244 addq.w D4, 1
label00000310:
00000310 3004 move.w D0, D4
00000312 48C0 ext.l D0
00000314 E580 asl D0, 2
00000316 45EE FEEC lea.l A2, [A6 - 0x114]
0000031A 45F2 0000 lea.l A2, [A2 + D0.w]
0000031E 2612 move.l D3, [A2]
00000320 0C83 3F3F 3F3F cmpi.l D3, 0x3F3F3F3F /* '????' */
00000326 66D2 bne -0x2C /* 000002FA */
label00000328:
00000328 7601 moveq.l D3, 0x01
0000032A 3F03 move.w -[A7], D3
0000032C A887 syscall TextFont
0000032E 7009 moveq.l D0, 0x09
00000330 3F00 move.w -[A7], D0
00000332 A88A syscall TextSize
00000334 486E FED8 pea.l [A6 - 0x128]
00000338 A88B syscall GetFontInfo
0000033A 204B movea.l A0, A3
0000033C 7010 moveq.l D0, 0x10
0000033E D1C0 add.l A0, D0
00000340 43EE FEE4 lea.l A1, [A6 - 0x11C]
00000344 22D8 move.l [A1]+, [A0]+
00000346 22D8 move.l [A1]+, [A0]+
00000348 302E FEDE move.w D0, [A6 - 0x122]
0000034C E760 asl D0.w, D3
0000034E D06E FEE4 add.w D0, [A6 - 0x11C]
00000352 D06E FED8 add.w D0, [A6 - 0x128]
00000356 D06E FEDA add.w D0, [A6 - 0x126]
0000035A 5440 addq.w D0, 2
0000035C 3D40 FEE8 move.w [A6 - 0x118], D0
00000360 3F2E FEE6 move.w -[A7], [A6 - 0x11A]
00000364 5540 subq.w D0, 2
00000366 3F00 move.w -[A7], D0
00000368 A893 syscall MoveTo
0000036A 302E FEEA move.w D0, [A6 - 0x116]
0000036E 906E FEE6 sub.w D0, [A6 - 0x11A]
00000372 3F00 move.w -[A7], D0
00000374 4267 clr.w -[A7]
00000376 A892 syscall Line
00000378 4267 clr.w -[A7]
0000037A 7002 moveq.l D0, 0x02
0000037C 3F00 move.w -[A7], D0
0000037E A894 syscall Move
00000380 302E FEEA move.w D0, [A6 - 0x116]
00000384 906E FEE6 sub.w D0, [A6 - 0x11A]
00000388 4440 neg.w D0
0000038A 3F00 move.w -[A7], D0
0000038C 4267 clr.w -[A7]
0000038E A892 syscall Line
00000390 2006 move.l D0, D6
00000392 0C80 5049 4354 cmpi.l D0, 0x50494354 /* 'PICT' */
00000398 670A beq +0xC /* 000003A4 */
0000039A 0C80 5445 5854 cmpi.l D0, 0x54455854 /* 'TEXT' */
000003A0 6714 beq +0x16 /* 000003B6 */
000003A2 6024 bra +0x26 /* 000003C8 */
label000003A4:
000003A4 486E FEF8 pea.l [A6 - 0x108]
000003A8 3F3C 01F4 move.w -[A7], 0x1F4
000003AC 7003 moveq.l D0, 0x03
000003AE 3F00 move.w -[A7], D0
000003B0 4EBA 5ACE jsr [PC + 0x5ACE /* 00005E80 */]
000003B4 6040 bra +0x42 /* 000003F6 */
label000003B6:
000003B6 486E FEF8 pea.l [A6 - 0x108]
000003BA 3F3C 01F4 move.w -[A7], 0x1F4
000003BE 7004 moveq.l D0, 0x04
000003C0 3F00 move.w -[A7], D0
000003C2 4EBA 5ABC jsr [PC + 0x5ABC /* 00005E80 */]
000003C6 602E bra +0x30 /* 000003F6 */
label000003C8:
000003C8 594F subq.w A7, 4
000003CA A9F9 syscall InfoScrap
000003CC 205F movea.l A0, [A7]+
000003CE 4A68 0008 tst.w [A0 + 0x8]
000003D2 6612 bne +0x14 /* 000003E6 */
000003D4 486E FEF8 pea.l [A6 - 0x108]
000003D8 3F3C 01F4 move.w -[A7], 0x1F4
000003DC 7001 moveq.l D0, 0x01
000003DE 3F00 move.w -[A7], D0
000003E0 4EBA 5A9E jsr [PC + 0x5A9E /* 00005E80 */]
000003E4 6010 bra +0x12 /* 000003F6 */
label000003E6:
000003E6 486E FEF8 pea.l [A6 - 0x108]
000003EA 3F3C 01F4 move.w -[A7], 0x1F4
000003EE 7002 moveq.l D0, 0x02
000003F0 3F00 move.w -[A7], D0
000003F2 4EBA 5A8C jsr [PC + 0x5A8C /* 00005E80 */]
label000003F6:
000003F6 302E FEE6 move.w D0, [A6 - 0x11A]
000003FA 5840 addq.w D0, 4
000003FC 3F00 move.w -[A7], D0
000003FE 302E FEE8 move.w D0, [A6 - 0x118]
00000402 5940 subq.w D0, 4
00000404 3F00 move.w -[A7], D0
00000406 A893 syscall MoveTo
00000408 486E FEF8 pea.l [A6 - 0x108]
0000040C A884 syscall DrawString
0000040E 302E FEE8 move.w D0, [A6 - 0x118]
00000412 5240 addq.w D0, 1
00000414 3D40 FEE4 move.w [A6 - 0x11C], D0
00000418 302B 0014 move.w D0, [A3 + 0x14]
0000041C 3D40 FEE8 move.w [A6 - 0x118], D0
00000420 594F subq.w A7, 4
00000422 A9F9 syscall InfoScrap
00000424 205F movea.l A0, [A7]+
00000426 3028 0008 move.w D0, [A0 + 0x8]
0000042A 206E 000C movea.l A0, [A6 + 0xC]
0000042E 3140 0178 move.w [A0 + 0x178], D0
00000432 41EE FEE4 lea.l A0, [A6 - 0x11C]
00000436 43EE FFF8 lea.l A1, [A6 - 0x8]
0000043A 22D8 move.l [A1]+, [A0]+
0000043C 22D8 move.l [A1]+, [A0]+
0000043E 594F subq.w A7, 4
00000440 A9F9 syscall InfoScrap
00000442 205F movea.l A0, [A7]+
00000444 2468 0004 movea.l A2, [A0 + 0x4]
00000448 760F moveq.l D3, 0x0F
0000044A 976E FFFE sub.w [A6 - 0x2], D3
0000044E 976E FFFC sub.w [A6 - 0x4], D3
00000452 486E FFF8 pea.l [A6 - 0x8]
00000456 A87B syscall ClipRect
00000458 2006 move.l D0, D6
0000045A 0C80 5049 4354 cmpi.l D0, 0x50494354 /* 'PICT' */
00000460 670A beq +0xC /* 0000046C */
00000462 0C80 5445 5854 cmpi.l D0, 0x54455854 /* 'TEXT' */
00000468 6716 beq +0x18 /* 00000480 */
0000046A 6036 bra +0x38 /* 000004A2 */
label0000046C:
0000046C 2F2E FEE0 move.l -[A7], [A6 - 0x120]
00000470 2F0A move.l -[A7], A2
00000472 486E FFF8 pea.l [A6 - 0x8]
00000476 4EBA FD6E jsr [PC - 0x292 /* 000001E6 */]
0000047A 4FEF 000C lea.l A7, [A7 + 0xC]
0000047E 6022 bra +0x24 /* 000004A2 */
label00000480:
00000480 204A movea.l A0, A2
00000482 A069 syscall HGetState
00000484 204A movea.l A0, A2
00000486 A029 syscall HLock
00000488 976E FFFE sub.w [A6 - 0x2], D3
0000048C 976E FFFC sub.w [A6 - 0x4], D3
00000490 2052 movea.l A0, [A2]
00000492 D1EE FEE0 add.l A0, [A6 - 0x120]
00000496 2F08 move.l -[A7], A0
00000498 2F05 move.l -[A7], D5
0000049A 486E FFF8 pea.l [A6 - 0x8]
0000049E 4267 clr.w -[A7]
000004A0 A9CE syscall TETextBox/TextBox
label000004A2:
000004A2 486E FEE4 pea.l [A6 - 0x11C]
000004A6 A87B syscall ClipRect
000004A8 2F0B move.l -[A7], A3
000004AA A904 syscall DrawGrowIcon
000004AC 2F0C move.l -[A7], A4
000004AE A879 syscall SetClip
000004B0 2F0C move.l -[A7], A4
000004B2 A8D9 syscall DisposRgn/DisposeRgn
000004B4 594F subq.w A7, 4
000004B6 A9FA syscall UnloadScrap/UnlodeScrap
000004B8 584F addq.w A7, 4
label000004BA:
000004BA 3007 move.w D0, D7
000004BC 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000004C0 4E5E unlink A6
000004C2 4E75 rts
000004C4 4E56 FFFC link A6, -0x0004
000004C8 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000004CC 266E 0008 movea.l A3, [A6 + 0x8]
000004D0 286E 0010 movea.l A4, [A6 + 0x10]
000004D4 3214 move.w D1, [A4]
000004D6 7000 moveq.l D0, 0x00
000004D8 3001 move.w D0, D1
000004DA 4A80 tst.l D0
000004DC 670E beq +0x10 /* 000004EC */
000004DE 7208 moveq.l D1, 0x08
000004E0 B081 cmp.l D0, D1
000004E2 6708 beq +0xA /* 000004EC */
000004E4 720F moveq.l D1, 0x0F
000004E6 B081 cmp.l D0, D1
000004E8 6730 beq +0x32 /* 0000051A */
000004EA 6066 bra +0x68 /* 00000552 */
label000004EC:
000004EC 594F subq.w A7, 4
000004EE A9FB syscall LoadScrap/LodeScrap
000004F0 201F move.l D0, [A7]+
000004F2 665E bne +0x60 /* 00000552 */
000004F4 594F subq.w A7, 4
000004F6 A9F9 syscall InfoScrap
000004F8 245F movea.l A2, [A7]+
000004FA 302A 0008 move.w D0, [A2 + 0x8]
000004FE 206E 000C movea.l A0, [A6 + 0xC]
00000502 3228 0178 move.w D1, [A0 + 0x178]
00000506 B041 cmp.w D0, D1
00000508 6748 beq +0x4A /* 00000552 */
0000050A 2F0B move.l -[A7], A3
0000050C A873 syscall SetPort
0000050E 204B movea.l A0, A3
00000510 7010 moveq.l D0, 0x10
00000512 D1C0 add.l A0, D0
00000514 2F08 move.l -[A7], A0
00000516 A928 syscall InvalRect
00000518 6038 bra +0x3A /* 00000552 */
label0000051A:
0000051A 262C 0002 move.l D3, [A4 + 0x2]
0000051E 2D43 FFFC move.l [A6 - 0x4], D3
00000522 7018 moveq.l D0, 0x18
00000524 E0AB lsr D3, D0
00000526 0243 00FF andi.w D3, 0xFF
0000052A 7801 moveq.l D4, 0x01
0000052C B644 cmp.w D3, D4
0000052E 6622 bne +0x24 /* 00000552 */
00000530 202E FFFC move.l D0, [A6 - 0x4]
00000534 C044 and.w D0, D4
00000536 6616 bne +0x18 /* 0000054E */
00000538 2F0B move.l -[A7], A3
0000053A A916 syscall HideWindow
0000053C 594F subq.w A7, 4
0000053E A924 syscall FrontWindow
00000540 265F movea.l A3, [A7]+
00000542 200B move.l D0, A3
00000544 670C beq +0xE /* 00000552 */
00000546 2F0B move.l -[A7], A3
00000548 4227 clr.b -[A7]
0000054A A91C syscall HiliteWindow
0000054C 6004 bra +0x6 /* 00000552 */
label0000054E:
0000054E 2F0B move.l -[A7], A3
00000550 A915 syscall ShowWindow
label00000552:
00000552 4200 clr.b D0
00000554 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000558 4E5E unlink A6
0000055A 4E75 rts
0000055C 4240 clr.w D0
0000055E 4E75 rts
00000560 4E56 0000 link A6, 0
00000564 2F03 move.l -[A7], D3
00000566 4243 clr.w D3
00000568 206E 0014 movea.l A0, [A6 + 0x14]
0000056C 3083 move.w [A0], D3
0000056E 3003 move.w D0, D3
00000570 261F move.l D3, [A7]+
00000572 4E5E unlink A6
00000574 4E75 rts
00000576 4E56 FFF8 link A6, -0x0008
0000057A 594F subq.w A7, 4
0000057C 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
00000580 205F movea.l A0, [A7]+
00000582 2050 movea.l A0, [A0]
00000584 5448 addq.w A0, 2
00000586 43EE FFF8 lea.l A1, [A6 - 0x8]
0000058A 22D8 move.l [A1]+, [A0]+
0000058C 22D8 move.l [A1]+, [A0]+
0000058E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000592 486E FFF8 pea.l [A6 - 0x8]
00000596 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
0000059A 504F addq.w A7, 8
0000059C 4240 clr.w D0
0000059E 4E5E unlink A6
000005A0 4E75 rts
000005A2 7006 moveq.l D0, 0x06
000005A4 3F00 move.w -[A7], D0
000005A6 3F3C 01F4 move.w -[A7], 0x1F4
000005AA 7022 moveq.l D0, 0x22
000005AC 3F00 move.w -[A7], D0
000005AE 4EBA 13B8 jsr [PC + 0x13B8 /* 00001968 */]
000005B2 544F addq.w A7, 2
000005B4 A9FA syscall UnloadScrap/UnlodeScrap
000005B6 584F addq.w A7, 4
000005B8 4240 clr.w D0
000005BA 4E75 rts
000005BC 4E56 0000 link A6, 0
000005C0 2F0B move.l -[A7], A3
000005C2 266E 000C movea.l A3, [A6 + 0xC]
000005C6 177C 0001 0152 move.b [A3 + 0x152], 0x1
000005CC 41FA FEF6 lea.l A0, [PC - 0x10A /* 000004C4, value 0x4E56FFFC */]
000005D0 2748 0122 move.l [A3 + 0x122], A0
000005D4 41FA FF86 lea.l A0, [PC - 0x7A /* 0000055C, value 0x42404E75 'B@Nu', cstring "B@NuNV" */]
000005D8 2748 0136 move.l [A3 + 0x136], A0
000005DC 41FA FF82 lea.l A0, [PC - 0x7E /* 00000560, value 0x4E560000 'NV\0\0', cstring "NV" */]
000005E0 2748 0112 move.l [A3 + 0x112], A0
000005E4 41FA FCD0 lea.l A0, [PC - 0x330 /* 000002B6, value 0x4E56FED8 */]
000005E8 2748 012A move.l [A3 + 0x12A], A0
000005EC 41FA FF88 lea.l A0, [PC - 0x78 /* 00000576, value 0x4E56FFF8 */]
000005F0 2748 0102 move.l [A3 + 0x102], A0
000005F4 41FA FFAC lea.l A0, [PC - 0x54 /* 000005A2, value 0x70063F00 */]
000005F8 2748 00FE move.l [A3 + 0xFE], A0
000005FC 302B 0156 move.w D0, [A3 + 0x156]
00000600 D06D FCA0 add.w D0, [A5 - 0x360]
00000604 906D FC9C sub.w D0, [A5 - 0x364]
00000608 72A0 moveq.l D1, 0xFFFFFFA0
0000060A D041 add.w D0, D1
0000060C 3740 015A move.w [A3 + 0x15A], D0
00000610 302B 0154 move.w D0, [A3 + 0x154]
00000614 0640 0096 addi.w D0, 0x96
00000618 3740 0158 move.w [A3 + 0x158], D0
0000061C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000620 302D FC9C move.w D0, [A5 - 0x364]
00000624 5840 addq.w D0, 4
00000626 3F00 move.w -[A7], D0
00000628 302D FC9E move.w D0, [A5 - 0x362]
0000062C 0640 FF66 addi.w D0, 0xFF66
00000630 3F00 move.w -[A7], D0
00000632 4227 clr.b -[A7]
00000634 A91B syscall MoveWindow
00000636 7005 moveq.l D0, 0x05
00000638 3F00 move.w -[A7], D0
0000063A 3F3C 01F4 move.w -[A7], 0x1F4
0000063E 7022 moveq.l D0, 0x22
00000640 3F00 move.w -[A7], D0
00000642 4EBA 1324 jsr [PC + 0x1324 /* 00001968 */]
00000646 5C4F addq.w A7, 6
00000648 4240 clr.w D0
0000064A 265F movea.l A3, [A7]+
0000064C 4E5E unlink A6
0000064E 4E75 rts
00000650 4E56 0000 link A6, 0
00000654 2F0B move.l -[A7], A3
00000656 266E 0008 movea.l A3, [A6 + 0x8]
0000065A 377C 01F4 0004 move.w [A3 + 0x4], 0x1F4
00000660 16BC 0001 move.b [A3], 0x1
00000664 41FA FF56 lea.l A0, [PC - 0xAA /* 000005BC, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000668 2748 000E move.l [A3 + 0xE], A0
0000066C 277C 0000 017A 000A move.l [A3 + 0xA], 0x17A
00000674 4240 clr.w D0
00000676 265F movea.l A3, [A7]+
00000678 4E5E unlink A6
0000067A 4E75 rts
fn0000067C:
0000067C 4E75 rts
export_2:
0000067E 4E56 0000 link A6, 0
00000682 48E7 1720 movem.l -[A7], D3,D5,D6,D7,A2
00000686 246E 000A movea.l A2, [A6 + 0xA]
0000068A 4247 clr.w D7
0000068C 3C2E 0008 move.w D6, [A6 + 0x8]
00000690 48C6 ext.l D6
00000692 6054 bra +0x56 /* 000006E8 */
label00000694:
00000694 202D F95C move.l D0, [A5 - 0x6A4]
00000698 6622 bne +0x24 /* 000006BC */
0000069A 2B7C 0000 0800 F95C move.l [A5 - 0x6A4], 0x800
000006A2 7000 moveq.l D0, 0x00
000006A4 2B40 F960 move.l [A5 - 0x6A0], D0
000006A8 554F subq.w A7, 2
000006AA 3F2D F15A move.w -[A7], [A5 - 0xEA6]
000006AE 486D F95C pea.l [A5 - 0x6A4]
000006B2 486D F15C pea.l [A5 - 0xEA4]
000006B6 4EBA 555E jsr [PC + 0x555E /* 00005C16 */]
000006BA 3E1F move.w D7, [A7]+
label000006BC:
000006BC 262D F95C move.l D3, [A5 - 0x6A4]
000006C0 6F26 ble +0x28 /* 000006E8 */
000006C2 2A03 move.l D5, D3
000006C4 B686 cmp.l D3, D6
000006C6 6F02 ble +0x4 /* 000006CA */
000006C8 2A06 move.l D5, D6
label000006CA:
000006CA 202D F960 move.l D0, [A5 - 0x6A0]
000006CE 41ED F15C lea.l A0, [A5 - 0xEA4]
000006D2 D088 add.l D0, A0
000006D4 2040 movea.l A0, D0
000006D6 224A movea.l A1, A2
000006D8 2005 move.l D0, D5
000006DA A22E syscall BlockMove/BlockMoveData, flags=2
000006DC 9C85 sub.l D6, D5
000006DE D5C5 add.l A2, D5
000006E0 DBAD F960 add.l [A5 - 0x6A0], D5
000006E4 9BAD F95C sub.l [A5 - 0x6A4], D5
label000006E8:
000006E8 0C86 0000 0000 cmpi.l D6, 0x0
000006EE 6F04 ble +0x6 /* 000006F4 */
000006F0 4A47 tst.w D7
000006F2 67A0 beq -0x5E /* 00000694 */
label000006F4:
000006F4 4CDF 04E8 movem.l D3,D5,D6,D7,A2, [A7]+
000006F8 4E5E unlink A6
000006FA 205F movea.l A0, [A7]+
000006FC 5C4F addq.w A7, 6
000006FE 4ED0 jmp [A0]
fn00000700:
00000700 4E56 FFEC link A6, -0x0014
00000704 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000708 286E 000E movea.l A4, [A6 + 0xE]
0000070C 202E 0012 move.l D0, [A6 + 0x12]
00000710 670C beq +0xE /* 0000071E */
00000712 206E 0012 movea.l A0, [A6 + 0x12]
00000716 2010 move.l D0, [A0]
00000718 2D40 FFEC move.l [A6 - 0x14], D0
0000071C 6020 bra +0x22 /* 0000073E */
label0000071E:
0000071E 554F subq.w A7, 2
00000720 246E 0008 movea.l A2, [A6 + 0x8]
00000724 2F2A 0160 move.l -[A7], [A2 + 0x160]
00000728 A960 syscall GetControlValue/GetCtlValue
0000072A 301F move.w D0, [A7]+
0000072C 3D40 FFEE move.w [A6 - 0x12], D0
00000730 554F subq.w A7, 2
00000732 2F2A 0164 move.l -[A7], [A2 + 0x164]
00000736 A960 syscall GetControlValue/GetCtlValue
00000738 301F move.w D0, [A7]+
0000073A 3D40 FFEC move.w [A6 - 0x14], D0
label0000073E:
0000073E 246E 0008 movea.l A2, [A6 + 0x8]
00000742 266A 0180 movea.l A3, [A2 + 0x180]
00000746 200B move.l D0, A3
00000748 6766 beq +0x68 /* 000007B0 */
0000074A 102E 000C move.b D0, [A6 + 0xC]
0000074E 6736 beq +0x38 /* 00000786 */
00000750 486E FFF0 pea.l [A6 - 0x10]
00000754 2F0B move.l -[A7], A3
00000756 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
0000075A 504F addq.w A7, 8
0000075C 486E FFF0 pea.l [A6 - 0x10]
00000760 302A 0156 move.w D0, [A2 + 0x156]
00000764 906E FFF2 sub.w D0, [A6 - 0xE]
00000768 906E FFEE sub.w D0, [A6 - 0x12]
0000076C 3F00 move.w -[A7], D0
0000076E 302A 0154 move.w D0, [A2 + 0x154]
00000772 906E FFF0 sub.w D0, [A6 - 0x10]
00000776 906E FFEC sub.w D0, [A6 - 0x14]
0000077A 3F00 move.w -[A7], D0
0000077C A8A8 syscall OffsetRect
0000077E 2F0B move.l -[A7], A3
00000780 486E FFF0 pea.l [A6 - 0x10]
00000784 A8F6 syscall DrawPicture
label00000786:
00000786 200C move.l D0, A4
00000788 671C beq +0x1E /* 000007A6 */
0000078A 2F0C move.l -[A7], A4
0000078C 2F0B move.l -[A7], A3
0000078E 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
00000792 504F addq.w A7, 8
00000794 2F0C move.l -[A7], A4
00000796 302C 0002 move.w D0, [A4 + 0x2]
0000079A 4440 neg.w D0
0000079C 3F00 move.w -[A7], D0
0000079E 3014 move.w D0, [A4]
000007A0 4440 neg.w D0
000007A2 3F00 move.w -[A7], D0
000007A4 A8A8 syscall OffsetRect
label000007A6:
000007A6 7000 moveq.l D0, 0x00
000007A8 2640 movea.l A3, D0
000007AA 4244 clr.w D4
000007AC 6000 018C bra +0x18E /* 0000093A */
label000007B0:
000007B0 702A moveq.l D0, 0x2A
000007B2 A122 syscall NewHandle, flags=1
000007B4 2648 movea.l A3, A0
000007B6 554F subq.w A7, 2
000007B8 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000007BC 381F move.w D4, [A7]+
000007BE 6600 017E bne +0x180 /* 0000093E */
000007C2 206E 0008 movea.l A0, [A6 + 0x8]
000007C6 3028 00EA move.w D0, [A0 + 0xEA]
000007CA 3B40 F15A move.w [A5 - 0xEA6], D0
000007CE 554F subq.w A7, 2
000007D0 3F00 move.w -[A7], D0
000007D2 7001 moveq.l D0, 0x01
000007D4 3F00 move.w -[A7], D0
000007D6 2F3C 0000 0200 move.l -[A7], 0x200
000007DC 4EBA 54E2 jsr [PC + 0x54E2 /* 00005CC0 */]
000007E0 381F move.w D4, [A7]+
000007E2 6600 0156 bne +0x158 /* 0000093A */
000007E6 2B7C 0000 0800 F95C move.l [A5 - 0x6A4], 0x800
000007EE 7000 moveq.l D0, 0x00
000007F0 2B40 F960 move.l [A5 - 0x6A0], D0
000007F4 554F subq.w A7, 2
000007F6 3F2D F15A move.w -[A7], [A5 - 0xEA6]
000007FA 486D F95C pea.l [A5 - 0x6A4]
000007FE 486D F15C pea.l [A5 - 0xEA4]
00000802 4EBA 5412 jsr [PC + 0x5412 /* 00005C16 */]
00000806 381F move.w D4, [A7]+
00000808 70D9 moveq.l D0, 0xFFFFFFD9
0000080A B840 cmp.w D4, D0
0000080C 6602 bne +0x4 /* 00000810 */
0000080E 4244 clr.w D4
label00000810:
00000810 0CAD 0000 000A F95C cmpi.l [A5 - 0x6A4], 0xA /* '\n' */
00000818 6402 bcc +0x4 /* 0000081C */
0000081A 3800 move.w D4, D0
label0000081C:
0000081C 4A44 tst.w D4
0000081E 6600 011A bne +0x11C /* 0000093A */
00000822 41ED F15C lea.l A0, [A5 - 0xEA4]
00000826 2253 movea.l A1, [A3]
00000828 702A moveq.l D0, 0x2A
0000082A A22E syscall BlockMove/BlockMoveData, flags=2
0000082C 760A moveq.l D3, 0x0A
0000082E D7AD F960 add.l [A5 - 0x6A0], D3
00000832 97AD F95C sub.l [A5 - 0x6A4], D3
00000836 102E 000C move.b D0, [A6 + 0xC]
0000083A 6700 00DE beq +0xE0 /* 0000091A */
0000083E 486E FFF8 pea.l [A6 - 0x8]
00000842 2F0B move.l -[A7], A3
00000844 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
00000848 504F addq.w A7, 8
0000084A 102D FD88 move.b D0, [A5 - 0x278]
0000084E 6678 bne +0x7A /* 000008C8 */
00000850 102D FD79 move.b D0, [A5 - 0x287]
00000854 6720 beq +0x22 /* 00000876 */
00000856 206D FD0E movea.l A0, [A5 - 0x2F2]
0000085A 2468 0068 movea.l A2, [A0 + 0x68]
0000085E 200A move.l D0, A2
00000860 670C beq +0xE /* 0000086E */
00000862 204A movea.l A0, A2
00000864 43ED F99C lea.l A1, [A5 - 0x664]
00000868 7050 moveq.l D0, 0x50
0000086A A22E syscall BlockMove/BlockMoveData, flags=2
0000086C 6026 bra +0x28 /* 00000894 */
label0000086E:
0000086E 486D F99C pea.l [A5 - 0x664]
00000872 AA4E syscall SetStdCProcs
00000874 601E bra +0x20 /* 00000894 */
label00000876:
00000876 206D FD0E movea.l A0, [A5 - 0x2F2]
0000087A 2468 0068 movea.l A2, [A0 + 0x68]
0000087E 200A move.l D0, A2
00000880 670C beq +0xE /* 0000088E */
00000882 204A movea.l A0, A2
00000884 43ED F968 lea.l A1, [A5 - 0x698]
00000888 7034 moveq.l D0, 0x34
0000088A A22E syscall BlockMove/BlockMoveData, flags=2
0000088C 6006 bra +0x8 /* 00000894 */
label0000088E:
0000088E 486D F968 pea.l [A5 - 0x698]
00000892 A8EA syscall SetStdProcs
label00000894:
00000894 262D F9EC move.l D3, [A5 - 0x614]
00000898 2B43 F994 move.l [A5 - 0x66C], D3
0000089C 2B43 F9C8 move.l [A5 - 0x638], D3
000008A0 246D FD0E movea.l A2, [A5 - 0x2F2]
000008A4 7068 moveq.l D0, 0x68
000008A6 D5C0 add.l A2, D0
000008A8 2012 move.l D0, [A2]
000008AA 2B40 F964 move.l [A5 - 0x69C], D0
000008AE 102D FD79 move.b D0, [A5 - 0x287]
000008B2 6708 beq +0xA /* 000008BC */
000008B4 41ED F99C lea.l A0, [A5 - 0x664]
000008B8 2488 move.l [A2], A0
000008BA 600C bra +0xE /* 000008C8 */
label000008BC:
000008BC 41ED F968 lea.l A0, [A5 - 0x698]
000008C0 226D FD0E movea.l A1, [A5 - 0x2F2]
000008C4 2348 0068 move.l [A1 + 0x68], A0
label000008C8:
000008C8 486E FFF8 pea.l [A6 - 0x8]
000008CC 246E 0008 movea.l A2, [A6 + 0x8]
000008D0 302A 0156 move.w D0, [A2 + 0x156]
000008D4 906E FFFA sub.w D0, [A6 - 0x6]
000008D8 906E FFEE sub.w D0, [A6 - 0x12]
000008DC 3F00 move.w -[A7], D0
000008DE 302A 0154 move.w D0, [A2 + 0x154]
000008E2 906E FFF8 sub.w D0, [A6 - 0x8]
000008E6 906E FFEC sub.w D0, [A6 - 0x14]
000008EA 3F00 move.w -[A7], D0
000008EC A8A8 syscall OffsetRect
000008EE 102D FD88 move.b D0, [A5 - 0x278]
000008F2 6614 bne +0x16 /* 00000908 */
000008F4 2F0B move.l -[A7], A3
000008F6 486E FFF8 pea.l [A6 - 0x8]
000008FA A8F6 syscall DrawPicture
000008FC 206D FD0E movea.l A0, [A5 - 0x2F2]
00000900 216D F964 0068 move.l [A0 + 0x68], [A5 - 0x69C]
00000906 6012 bra +0x14 /* 0000091A */
label00000908:
00000908 554F subq.w A7, 2
0000090A 3F2D F15A move.w -[A7], [A5 - 0xEA6]
0000090E 486E FFF8 pea.l [A6 - 0x8]
00000912 42A7 clr.l -[A7]
00000914 7029 moveq.l D0, 0x29
00000916 AAA3 syscall CodecDispatch
00000918 544F addq.w A7, 2
label0000091A:
0000091A 200C move.l D0, A4
0000091C 671C beq +0x1E /* 0000093A */
0000091E 2F0C move.l -[A7], A4
00000920 2F0B move.l -[A7], A3
00000922 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
00000926 504F addq.w A7, 8
00000928 2F0C move.l -[A7], A4
0000092A 302C 0002 move.w D0, [A4 + 0x2]
0000092E 4440 neg.w D0
00000930 3F00 move.w -[A7], D0
00000932 3014 move.w D0, [A4]
00000934 4440 neg.w D0
00000936 3F00 move.w -[A7], D0
00000938 A8A8 syscall OffsetRect
label0000093A:
0000093A 204B movea.l A0, A3
0000093C A023 syscall DisposHandle/DisposeHandle
label0000093E:
0000093E 3004 move.w D0, D4
00000940 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000944 4E5E unlink A6
00000946 4E75 rts
fn00000948:
00000948 4E56 FFE4 link A6, -0x001C
0000094C 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000950 286E 0008 movea.l A4, [A6 + 0x8]
00000954 486E FFF4 pea.l [A6 - 0xC]
00000958 486E FFF0 pea.l [A6 - 0x10]
0000095C 203C 0008 0005 move.l D0, 0x80005
00000962 AB1D syscall QDExtensions
00000964 486E FFE8 pea.l [A6 - 0x18]
00000968 3F3C 8008 move.w -[A7], 0x8008
0000096C 3F3C 8008 move.w -[A7], 0x8008
00000970 3F3C 7FF8 move.w -[A7], 0x7FF8
00000974 3F3C 7FF8 move.w -[A7], 0x7FF8
00000978 A8A7 syscall SetRect
0000097A 7801 moveq.l D4, 0x01
0000097C 102D FD79 move.b D0, [A5 - 0x287]
00000980 671C beq +0x1E /* 0000099E */
00000982 7808 moveq.l D4, 0x08
00000984 594F subq.w A7, 4
00000986 486E FFE8 pea.l [A6 - 0x18]
0000098A AA27 syscall GetMaxDevice
0000098C 245F movea.l A2, [A7]+
0000098E 200A move.l D0, A2
00000990 670C beq +0xE /* 0000099E */
00000992 2052 movea.l A0, [A2]
00000994 2068 0016 movea.l A0, [A0 + 0x16]
00000998 2050 movea.l A0, [A0]
0000099A 3828 0020 move.w D4, [A0 + 0x20]
label0000099E:
0000099E 554F subq.w A7, 2
000009A0 486E FFF8 pea.l [A6 - 0x8]
000009A4 3F04 move.w -[A7], D4
000009A6 244C movea.l A2, A4
000009A8 45EA 0184 lea.l A2, [A2 + 0x184]
000009AC 2F0A move.l -[A7], A2
000009AE 42A7 clr.l -[A7]
000009B0 42A7 clr.l -[A7]
000009B2 7004 moveq.l D0, 0x04
000009B4 2F00 move.l -[A7], D0
000009B6 203C 0016 0000 move.l D0, 0x160000
000009BC AB1D syscall QDExtensions
000009BE 361F move.w D3, [A7]+
000009C0 671A beq +0x1C /* 000009DC */
000009C2 554F subq.w A7, 2
000009C4 486E FFF8 pea.l [A6 - 0x8]
000009C8 3F04 move.w -[A7], D4
000009CA 2F0A move.l -[A7], A2
000009CC 42A7 clr.l -[A7]
000009CE 42A7 clr.l -[A7]
000009D0 42A7 clr.l -[A7]
000009D2 203C 0016 0000 move.l D0, 0x160000
000009D8 AB1D syscall QDExtensions
000009DA 361F move.w D3, [A7]+
label000009DC:
000009DC 4A43 tst.w D3
000009DE 6600 0150 bne +0x152 /* 00000B30 */
000009E2 206E FFF8 movea.l A0, [A6 - 0x8]
000009E6 2F28 0018 move.l -[A7], [A0 + 0x18]
000009EA 486E FFE8 pea.l [A6 - 0x18]
000009EE A8DF syscall RectRgn
000009F0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000009F4 203C 0004 0009 move.l D0, 0x40009
000009FA AB1D syscall QDExtensions
000009FC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000A00 42A7 clr.l -[A7]
00000A02 203C 0008 0006 move.l D0, 0x80006
00000A08 AB1D syscall QDExtensions
00000A0A 206E FFF8 movea.l A0, [A6 - 0x8]
00000A0E 7010 moveq.l D0, 0x10
00000A10 D1C0 add.l A0, D0
00000A12 2F08 move.l -[A7], A0
00000A14 A8A3 syscall EraseRect
00000A16 244C movea.l A2, A4
00000A18 45EA 0184 lea.l A2, [A2 + 0x184]
00000A1C 2F0A move.l -[A7], A2
00000A1E A87B syscall ClipRect
00000A20 5D4F subq.w A7, 6
00000A22 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000A26 203C 0004 0017 move.l D0, 0x40017
00000A2C AB1D syscall QDExtensions
00000A2E 201F move.l D0, [A7]+
00000A30 2F00 move.l -[A7], D0
00000A32 203C 0004 0001 move.l D0, 0x40001
00000A38 AB1D syscall QDExtensions
00000A3A 544F addq.w A7, 2
00000A3C 2D6D F9F0 FFFC move.l [A6 - 0x4], [A5 - 0x610]
00000A42 486E FFFC pea.l [A6 - 0x4]
00000A46 42A7 clr.l -[A7]
00000A48 7001 moveq.l D0, 0x01
00000A4A 1F00 move.b -[A7], D0
00000A4C 2F0C move.l -[A7], A4
00000A4E 4EBA FCB0 jsr [PC - 0x350 /* 00000700 */]
00000A52 4FEF 000E lea.l A7, [A7 + 0xE]
00000A56 3600 move.w D3, D0
00000A58 594F subq.w A7, 4
00000A5A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000A5E 203C 0004 0017 move.l D0, 0x40017
00000A64 AB1D syscall QDExtensions
00000A66 201F move.l D0, [A7]+
00000A68 2F00 move.l -[A7], D0
00000A6A 203C 0004 0002 move.l D0, 0x40002
00000A70 AB1D syscall QDExtensions
00000A72 4A43 tst.w D3
00000A74 6600 00AE bne +0xB0 /* 00000B24 */
00000A78 594F subq.w A7, 4
00000A7A 2F0A move.l -[A7], A2
00000A7C A8F3 syscall OpenPicture
00000A7E 201F move.l D0, [A7]+
00000A80 2D40 FFE4 move.l [A6 - 0x1C], D0
00000A84 5D4F subq.w A7, 6
00000A86 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000A8A 203C 0004 0017 move.l D0, 0x40017
00000A90 AB1D syscall QDExtensions
00000A92 201F move.l D0, [A7]+
00000A94 2F00 move.l -[A7], D0
00000A96 203C 0004 0001 move.l D0, 0x40001
00000A9C AB1D syscall QDExtensions
00000A9E 544F addq.w A7, 2
00000AA0 266E FFF8 movea.l A3, [A6 - 0x8]
00000AA4 544B addq.w A3, 2
00000AA6 2F0B move.l -[A7], A3
00000AA8 2F0B move.l -[A7], A3
00000AAA 2F0A move.l -[A7], A2
00000AAC 2F0A move.l -[A7], A2
00000AAE 4267 clr.w -[A7]
00000AB0 42A7 clr.l -[A7]
00000AB2 A8EC syscall CopyBits
00000AB4 554F subq.w A7, 2
00000AB6 AA40 syscall QDError
00000AB8 361F move.w D3, [A7]+
00000ABA 594F subq.w A7, 4
00000ABC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000AC0 203C 0004 0017 move.l D0, 0x40017
00000AC6 AB1D syscall QDExtensions
00000AC8 201F move.l D0, [A7]+
00000ACA 2F00 move.l -[A7], D0
00000ACC 203C 0004 0002 move.l D0, 0x40002
00000AD2 AB1D syscall QDExtensions
00000AD4 A8F4 syscall ClosePicture
00000AD6 206E FFE4 movea.l A0, [A6 - 0x1C]
00000ADA 2050 movea.l A0, [A0]
00000ADC 5448 addq.w A0, 2
00000ADE 43EE FFE8 lea.l A1, [A6 - 0x18]
00000AE2 22D8 move.l [A1]+, [A0]+
00000AE4 22D8 move.l [A1]+, [A0]+
00000AE6 4A43 tst.w D3
00000AE8 660E bne +0x10 /* 00000AF8 */
00000AEA 554F subq.w A7, 2
00000AEC 486E FFE8 pea.l [A6 - 0x18]
00000AF0 A8AE syscall EmptyRect
00000AF2 101F move.b D0, [A7]+
00000AF4 6702 beq +0x4 /* 00000AF8 */
00000AF6 7694 moveq.l D3, 0xFFFFFF94
label00000AF8:
00000AF8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000AFC 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000B00 203C 0008 0006 move.l D0, 0x80006
00000B06 AB1D syscall QDExtensions
00000B08 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000B0C 203C 0004 0004 move.l D0, 0x40004
00000B12 AB1D syscall QDExtensions
00000B14 4A43 tst.w D3
00000B16 6608 bne +0xA /* 00000B20 */
00000B18 206E 000C movea.l A0, [A6 + 0xC]
00000B1C 20AE FFE4 move.l [A0], [A6 - 0x1C]
label00000B20:
00000B20 3003 move.w D0, D3
00000B22 601E bra +0x20 /* 00000B42 */
label00000B24:
00000B24 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000B28 203C 0004 0004 move.l D0, 0x40004
00000B2E AB1D syscall QDExtensions
label00000B30:
00000B30 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000B34 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000B38 203C 0008 0006 move.l D0, 0x80006
00000B3E AB1D syscall QDExtensions
00000B40 3003 move.w D0, D3
label00000B42:
00000B42 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000B46 4E5E unlink A6
00000B48 4E75 rts
fn00000B4A:
00000B4A 4E56 FFFC link A6, -0x0004
00000B4E 2F03 move.l -[A7], D3
00000B50 486E FFFC pea.l [A6 - 0x4]
00000B54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B58 4EBA FDEE jsr [PC - 0x212 /* 00000948 */]
00000B5C 504F addq.w A7, 8
00000B5E 3600 move.w D3, D0
00000B60 663A bne +0x3C /* 00000B9C */
00000B62 594F subq.w A7, 4
00000B64 A9FB syscall LoadScrap/LodeScrap
00000B66 201F move.l D0, [A7]+
00000B68 6632 bne +0x34 /* 00000B9C */
00000B6A 594F subq.w A7, 4
00000B6C A9FC syscall ZeroScrap
00000B6E 584F addq.w A7, 4
00000B70 206E FFFC movea.l A0, [A6 - 0x4]
00000B74 A029 syscall HLock
00000B76 514F subq.w A7, 8
00000B78 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B7C 4EBA 501C jsr [PC + 0x501C /* 00005B9A */]
00000B80 201F move.l D0, [A7]+
00000B82 2F00 move.l -[A7], D0
00000B84 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000B8A 206E FFFC movea.l A0, [A6 - 0x4]
00000B8E 2F10 move.l -[A7], [A0]
00000B90 A9FE syscall PutScrap
00000B92 201F move.l D0, [A7]+
00000B94 3600 move.w D3, D0
00000B96 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B9A A8F5 syscall KillPicture
label00000B9C:
00000B9C 3003 move.w D0, D3
00000B9E 261F move.l D3, [A7]+
00000BA0 4E5E unlink A6
00000BA2 4E75 rts
export_3:
00000BA4 4E56 FFFC link A6, -0x0004
00000BA8 48E7 1820 movem.l -[A7], D3,D4,A2
00000BAC 4243 clr.w D3
00000BAE 202E 0014 move.l D0, [A6 + 0x14]
00000BB2 0C80 5049 4354 cmpi.l D0, 0x50494354 /* 'PICT' */
00000BB8 6702 beq +0x4 /* 00000BBC */
00000BBA 604A bra +0x4C /* 00000C06 */
label00000BBC:
00000BBC 486E FFFC pea.l [A6 - 0x4]
00000BC0 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000BC4 4EBA FD82 jsr [PC - 0x27E /* 00000948 */]
00000BC8 504F addq.w A7, 8
00000BCA 3800 move.w D4, D0
00000BCC 663C bne +0x3E /* 00000C0A */
00000BCE 206E FFFC movea.l A0, [A6 - 0x4]
00000BD2 A029 syscall HLock
00000BD4 554F subq.w A7, 2
00000BD6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BDA 7001 moveq.l D0, 0x01
00000BDC 2F00 move.l -[A7], D0
00000BDE 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000BE4 246E FFFC movea.l A2, [A6 - 0x4]
00000BE8 2F12 move.l -[A7], [A2]
00000BEA 594F subq.w A7, 4
00000BEC 2F0A move.l -[A7], A2
00000BEE 4EBA 4FAA jsr [PC + 0x4FAA /* 00005B9A */]
00000BF2 201F move.l D0, [A7]+
00000BF4 2F00 move.l -[A7], D0
00000BF6 42A7 clr.l -[A7]
00000BF8 7009 moveq.l D0, 0x09
00000BFA ABED syscall DragDispatch
00000BFC 361F move.w D3, [A7]+
00000BFE 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000C02 A8F5 syscall KillPicture
00000C04 6004 bra +0x6 /* 00000C0A */
label00000C06:
00000C06 363C F8C4 move.w D3, 0xF8C4
label00000C0A:
00000C0A 3003 move.w D0, D3
00000C0C 3D40 0018 move.w [A6 + 0x18], D0
00000C10 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000C14 4E5E unlink A6
00000C16 205F movea.l A0, [A7]+
00000C18 4FEF 0010 lea.l A7, [A7 + 0x10]
00000C1C 4ED0 jmp [A0]
00000C1E 4E56 0000 link A6, 0
00000C22 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000C26 266E 000C movea.l A3, [A6 + 0xC]
00000C2A 594F subq.w A7, 4
00000C2C A8D8 syscall NewRgn
00000C2E 285F movea.l A4, [A7]+
00000C30 244B movea.l A2, A3
00000C32 45EA 0154 lea.l A2, [A2 + 0x154]
00000C36 2F0A move.l -[A7], A2
00000C38 A8A3 syscall EraseRect
00000C3A 2F0C move.l -[A7], A4
00000C3C A87A syscall GetClip
00000C3E 2F0A move.l -[A7], A2
00000C40 A87B syscall ClipRect
00000C42 42A7 clr.l -[A7]
00000C44 42A7 clr.l -[A7]
00000C46 7001 moveq.l D0, 0x01
00000C48 1F00 move.b -[A7], D0
00000C4A 2F0B move.l -[A7], A3
00000C4C 4EBA FAB2 jsr [PC - 0x54E /* 00000700 */]
00000C50 4FEF 000E lea.l A7, [A7 + 0xE]
00000C54 3600 move.w D3, D0
00000C56 2F0C move.l -[A7], A4
00000C58 A879 syscall SetClip
00000C5A 2F0C move.l -[A7], A4
00000C5C A8D9 syscall DisposRgn/DisposeRgn
00000C5E 4227 clr.b -[A7]
00000C60 204B movea.l A0, A3
00000C62 41E8 018C lea.l A0, [A0 + 0x18C]
00000C66 2F08 move.l -[A7], A0
00000C68 204B movea.l A0, A3
00000C6A 41E8 0184 lea.l A0, [A0 + 0x184]
00000C6E 2F08 move.l -[A7], A0
00000C70 2F0B move.l -[A7], A3
00000C72 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
00000C76 4FEF 000E lea.l A7, [A7 + 0xE]
00000C7A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C7E A969 syscall DrawControls
00000C80 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C84 A904 syscall DrawGrowIcon
00000C86 3003 move.w D0, D3
00000C88 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000C8C 4E5E unlink A6
00000C8E 4E75 rts
00000C90 4E56 0000 link A6, 0
00000C94 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000C98 206E 000C movea.l A0, [A6 + 0xC]
00000C9C 41E8 0178 lea.l A0, [A0 + 0x178]
00000CA0 2F08 move.l -[A7], A0
00000CA2 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
00000CA6 504F addq.w A7, 8
00000CA8 4240 clr.w D0
00000CAA 4E5E unlink A6
00000CAC 4E75 rts
00000CAE 4E56 0000 link A6, 0
00000CB2 206E 000C movea.l A0, [A6 + 0xC]
00000CB6 2068 0180 movea.l A0, [A0 + 0x180]
00000CBA A023 syscall DisposHandle/DisposeHandle
00000CBC 4240 clr.w D0
00000CBE 4E5E unlink A6
00000CC0 4E75 rts
00000CC2 4E56 FFF4 link A6, -0x000C
00000CC6 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000CCA 266E 000C movea.l A3, [A6 + 0xC]
00000CCE 286E 0010 movea.l A4, [A6 + 0x10]
00000CD2 4243 clr.w D3
00000CD4 244B movea.l A2, A3
00000CD6 45EA 0184 lea.l A2, [A2 + 0x184]
00000CDA 41EE FFF4 lea.l A0, [A6 - 0xC]
00000CDE 20DA move.l [A0]+, [A2]+
00000CE0 20DA move.l [A0]+, [A2]+
00000CE2 202C 000A move.l D0, [A4 + 0xA]
00000CE6 2D40 FFFC move.l [A6 - 0x4], D0
00000CEA 486E FFFC pea.l [A6 - 0x4]
00000CEE A871 syscall GlobalToLocal
00000CF0 486E FFF4 pea.l [A6 - 0xC]
00000CF4 554F subq.w A7, 2
00000CF6 2F2B 0160 move.l -[A7], [A3 + 0x160]
00000CFA A960 syscall GetControlValue/GetCtlValue
00000CFC 301F move.w D0, [A7]+
00000CFE 4440 neg.w D0
00000D00 3F00 move.w -[A7], D0
00000D02 554F subq.w A7, 2
00000D04 2F2B 0164 move.l -[A7], [A3 + 0x164]
00000D08 A960 syscall GetControlValue/GetCtlValue
00000D0A 301F move.w D0, [A7]+
00000D0C 4440 neg.w D0
00000D0E 3F00 move.w -[A7], D0
00000D10 A8A8 syscall OffsetRect
00000D12 102D FD8F move.b D0, [A5 - 0x271]
00000D16 6726 beq +0x28 /* 00000D3E */
00000D18 554F subq.w A7, 2
00000D1A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D1E 486E FFF4 pea.l [A6 - 0xC]
00000D22 A8AD syscall PtInRect
00000D24 101F move.b D0, [A7]+
00000D26 6716 beq +0x18 /* 00000D3E */
00000D28 486E FFF4 pea.l [A6 - 0xC]
00000D2C 2F0C move.l -[A7], A4
00000D2E 2F0B move.l -[A7], A3
00000D30 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D34 4EAD 028A jsr [A5 + 0x28A /* export_77 */]
00000D38 4FEF 0010 lea.l A7, [A7 + 0x10]
00000D3C 602A bra +0x2C /* 00000D68 */
label00000D3E:
00000D3E 244B movea.l A2, A3
00000D40 45EA 018C lea.l A2, [A2 + 0x18C]
00000D44 2F0A move.l -[A7], A2
00000D46 204B movea.l A0, A3
00000D48 41E8 0178 lea.l A0, [A0 + 0x178]
00000D4C 2F08 move.l -[A7], A0
00000D4E 204B movea.l A0, A3
00000D50 41E8 0184 lea.l A0, [A0 + 0x184]
00000D54 2F08 move.l -[A7], A0
00000D56 2F0C move.l -[A7], A4
00000D58 2F0B move.l -[A7], A3
00000D5A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D5E 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000D62 4FEF 0018 lea.l A7, [A7 + 0x18]
00000D66 3600 move.w D3, D0
label00000D68:
00000D68 3003 move.w D0, D3
00000D6A 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000D6E 4E5E unlink A6
00000D70 4E75 rts
00000D72 4E56 FFEC link A6, -0x0014
00000D76 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000D7A 266E 000C movea.l A3, [A6 + 0xC]
00000D7E 286E 0014 movea.l A4, [A6 + 0x14]
00000D82 4243 clr.w D3
00000D84 244B movea.l A2, A3
00000D86 45EA 0184 lea.l A2, [A2 + 0x184]
00000D8A 41EE FFEC lea.l A0, [A6 - 0x14]
00000D8E 20DA move.l [A0]+, [A2]+
00000D90 20DA move.l [A0]+, [A2]+
00000D92 486E FFEC pea.l [A6 - 0x14]
00000D96 554F subq.w A7, 2
00000D98 2F2B 0160 move.l -[A7], [A3 + 0x160]
00000D9C A960 syscall GetControlValue/GetCtlValue
00000D9E 301F move.w D0, [A7]+
00000DA0 4440 neg.w D0
00000DA2 3F00 move.w -[A7], D0
00000DA4 554F subq.w A7, 2
00000DA6 2F2B 0164 move.l -[A7], [A3 + 0x164]
00000DAA A960 syscall GetControlValue/GetCtlValue
00000DAC 301F move.w D0, [A7]+
00000DAE 4440 neg.w D0
00000DB0 3F00 move.w -[A7], D0
00000DB2 A8A8 syscall OffsetRect
00000DB4 41EE FFEC lea.l A0, [A6 - 0x14]
00000DB8 43EE FFF4 lea.l A1, [A6 - 0xC]
00000DBC 22D8 move.l [A1]+, [A0]+
00000DBE 22D8 move.l [A1]+, [A0]+
00000DC0 486E FFF4 pea.l [A6 - 0xC]
00000DC4 A870 syscall LocalToGlobal
00000DC6 486E FFF8 pea.l [A6 - 0x8]
00000DCA A870 syscall LocalToGlobal
00000DCC 554F subq.w A7, 2
00000DCE 206E 0010 movea.l A0, [A6 + 0x10]
00000DD2 2F10 move.l -[A7], [A0]
00000DD4 486E FFEC pea.l [A6 - 0x14]
00000DD8 A8AD syscall PtInRect
00000DDA 101F move.b D0, [A7]+
00000DDC 6650 bne +0x52 /* 00000E2E */
00000DDE 594F subq.w A7, 4
00000DE0 7002 moveq.l D0, 0x02
00000DE2 3F00 move.w -[A7], D0
00000DE4 A9B9 syscall GetCursor
00000DE6 245F movea.l A2, [A7]+
00000DE8 200A move.l D0, A2
00000DEA 671A beq +0x1C /* 00000E06 */
00000DEC 204A movea.l A0, A2
00000DEE A069 syscall HGetState
00000DF0 1D40 FFFC move.b [A6 - 0x4], D0
00000DF4 204A movea.l A0, A2
00000DF6 A029 syscall HLock
00000DF8 2F12 move.l -[A7], [A2]
00000DFA A851 syscall SetCursor
00000DFC 204A movea.l A0, A2
00000DFE 102E FFFC move.b D0, [A6 - 0x4]
00000E02 A06A syscall HSetState
00000E04 7664 moveq.l D3, 0x64
label00000E06:
00000E06 554F subq.w A7, 2
00000E08 486E FFF4 pea.l [A6 - 0xC]
00000E0C A8AE syscall EmptyRect
00000E0E 101F move.b D0, [A7]+
00000E10 6624 bne +0x26 /* 00000E36 */
00000E12 594F subq.w A7, 4
00000E14 A8D8 syscall NewRgn
00000E16 245F movea.l A2, [A7]+
00000E18 2F0A move.l -[A7], A2
00000E1A 486E FFF4 pea.l [A6 - 0xC]
00000E1E A8DF syscall RectRgn
00000E20 2F0C move.l -[A7], A4
00000E22 2F0A move.l -[A7], A2
00000E24 2F0C move.l -[A7], A4
00000E26 A8E6 syscall DiffRgn
00000E28 2F0A move.l -[A7], A2
00000E2A A8D9 syscall DisposRgn/DisposeRgn
00000E2C 6008 bra +0xA /* 00000E36 */
label00000E2E:
00000E2E 2F0C move.l -[A7], A4
00000E30 486E FFF4 pea.l [A6 - 0xC]
00000E34 A8DF syscall RectRgn
label00000E36:
00000E36 3003 move.w D0, D3
00000E38 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000E3C 4E5E unlink A6
00000E3E 4E75 rts
00000E40 4E56 0000 link A6, 0
00000E44 554F subq.w A7, 2
00000E46 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000E4A 2F2D F9F4 move.l -[A7], [A5 - 0x60C]
00000E4E 2F2E 000C move.l -[A7], [A6 + 0xC]
00000E52 700A moveq.l D0, 0x0A
00000E54 ABED syscall DragDispatch
00000E56 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000E5A 7001 moveq.l D0, 0x01
00000E5C 2F00 move.l -[A7], D0
00000E5E 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000E64 42A7 clr.l -[A7]
00000E66 42A7 clr.l -[A7]
00000E68 42A7 clr.l -[A7]
00000E6A 7007 moveq.l D0, 0x07
00000E6C ABED syscall DragDispatch
00000E6E 544F addq.w A7, 2
00000E70 4240 clr.w D0
00000E72 4E5E unlink A6
00000E74 4E75 rts
00000E76 4E56 FFF8 link A6, -0x0008
00000E7A 48E7 0030 movem.l -[A7], A2,A3
00000E7E 266E 000C movea.l A3, [A6 + 0xC]
00000E82 244B movea.l A2, A3
00000E84 45EA 0184 lea.l A2, [A2 + 0x184]
00000E88 41EE FFF8 lea.l A0, [A6 - 0x8]
00000E8C 20DA move.l [A0]+, [A2]+
00000E8E 20DA move.l [A0]+, [A2]+
00000E90 7006 moveq.l D0, 0x06
00000E92 246E 0014 movea.l A2, [A6 + 0x14]
00000E96 3480 move.w [A2], D0
00000E98 486E FFF8 pea.l [A6 - 0x8]
00000E9C 554F subq.w A7, 2
00000E9E 2F2B 0160 move.l -[A7], [A3 + 0x160]
00000EA2 A960 syscall GetControlValue/GetCtlValue
00000EA4 301F move.w D0, [A7]+
00000EA6 4440 neg.w D0
00000EA8 3F00 move.w -[A7], D0
00000EAA 554F subq.w A7, 2
00000EAC 2F2B 0164 move.l -[A7], [A3 + 0x164]
00000EB0 A960 syscall GetControlValue/GetCtlValue
00000EB2 301F move.w D0, [A7]+
00000EB4 4440 neg.w D0
00000EB6 3F00 move.w -[A7], D0
00000EB8 A8A8 syscall OffsetRect
00000EBA 554F subq.w A7, 2
00000EBC 486E FFF8 pea.l [A6 - 0x8]
00000EC0 204B movea.l A0, A3
00000EC2 41E8 0154 lea.l A0, [A0 + 0x154]
00000EC6 2F08 move.l -[A7], A0
00000EC8 486E FFF8 pea.l [A6 - 0x8]
00000ECC A8AA syscall SectRect
00000ECE 206E 0010 movea.l A0, [A6 + 0x10]
00000ED2 2F10 move.l -[A7], [A0]
00000ED4 486E FFF8 pea.l [A6 - 0x8]
00000ED8 A8AD syscall PtInRect
00000EDA 101F move.b D0, [A7]+
00000EDC 6710 beq +0x12 /* 00000EEE */
00000EDE 41EE FFF8 lea.l A0, [A6 - 0x8]
00000EE2 226E 0018 movea.l A1, [A6 + 0x18]
00000EE6 22D8 move.l [A1]+, [A0]+
00000EE8 22D8 move.l [A1]+, [A0]+
00000EEA 7007 moveq.l D0, 0x07
00000EEC 3480 move.w [A2], D0
label00000EEE:
00000EEE 4240 clr.w D0
00000EF0 4CDF 0C00 movem.l A2,A3, [A7]+
00000EF4 4E5E unlink A6
00000EF6 4E75 rts
00000EF8 4E56 FFEC link A6, -0x0014
00000EFC 48E7 1E10 movem.l -[A7], D3,D4,D5,D6,A3
00000F00 266E 0014 movea.l A3, [A6 + 0x14]
00000F04 206E 000C movea.l A0, [A6 + 0xC]
00000F08 41E8 0178 lea.l A0, [A0 + 0x178]
00000F0C 43EE FFEC lea.l A1, [A6 - 0x14]
00000F10 22D8 move.l [A1]+, [A0]+
00000F12 22D8 move.l [A1]+, [A0]+
00000F14 206E 0010 movea.l A0, [A6 + 0x10]
00000F18 43EE FFF8 lea.l A1, [A6 - 0x8]
00000F1C 22D8 move.l [A1]+, [A0]+
00000F1E 22D8 move.l [A1]+, [A0]+
00000F20 554F subq.w A7, 2
00000F22 486E FFEC pea.l [A6 - 0x14]
00000F26 486E FFF8 pea.l [A6 - 0x8]
00000F2A A8A6 syscall EqualRect
00000F2C 101F move.b D0, [A7]+
00000F2E 6706 beq +0x8 /* 00000F36 */
00000F30 7A01 moveq.l D5, 0x01
00000F32 3805 move.w D4, D5
00000F34 6048 bra +0x4A /* 00000F7E */
label00000F36:
00000F36 302E FFF2 move.w D0, [A6 - 0xE]
00000F3A 48C0 ext.l D0
00000F3C 322E FFEE move.w D1, [A6 - 0x12]
00000F40 48C1 ext.l D1
00000F42 9081 sub.l D0, D1
00000F44 322E FFFE move.w D1, [A6 - 0x2]
00000F48 48C1 ext.l D1
00000F4A 342E FFFA move.w D2, [A6 - 0x6]
00000F4E 48C2 ext.l D2
00000F50 9282 sub.l D1, D2
00000F52 4C41 0800 movem.l A3, D1
00000F56 3800 move.w D4, D0
00000F58 5244 addq.w D4, 1
00000F5A 302E FFF0 move.w D0, [A6 - 0x10]
00000F5E 48C0 ext.l D0
00000F60 322E FFEC move.w D1, [A6 - 0x14]
00000F64 48C1 ext.l D1
00000F66 9081 sub.l D0, D1
00000F68 322E FFFC move.w D1, [A6 - 0x4]
00000F6C 48C1 ext.l D1
00000F6E 342E FFF8 move.w D2, [A6 - 0x8]
00000F72 48C2 ext.l D2
00000F74 9282 sub.l D1, D2
00000F76 4C41 0800 movem.l A3, D1
00000F7A 3A00 move.w D5, D0
00000F7C 5245 addq.w D5, 1
label00000F7E:
00000F7E 2013 move.l D0, [A3]
00000F80 5380 subq.l D0, 1
00000F82 3604 move.w D3, D4
00000F84 3203 move.w D1, D3
00000F86 48C1 ext.l D1
00000F88 4C41 0802 movem.l D1,A3, D1
00000F8C 3D42 FFF6 move.w [A6 - 0xA], D2
00000F90 2013 move.l D0, [A3]
00000F92 5380 subq.l D0, 1
00000F94 3203 move.w D1, D3
00000F96 48C1 ext.l D1
00000F98 4C41 0800 movem.l A3, D1
00000F9C 3D40 FFF4 move.w [A6 - 0xC], D0
00000FA0 302E FFF6 move.w D0, [A6 - 0xA]
00000FA4 322E FFFE move.w D1, [A6 - 0x2]
00000FA8 926E FFFA sub.w D1, [A6 - 0x6]
00000FAC C1C1 muls.w D0, D1
00000FAE 3D40 FFF6 move.w [A6 - 0xA], D0
00000FB2 302E FFF4 move.w D0, [A6 - 0xC]
00000FB6 322E FFFC move.w D1, [A6 - 0x4]
00000FBA 926E FFF8 sub.w D1, [A6 - 0x8]
00000FBE C1C1 muls.w D0, D1
00000FC0 3D40 FFF4 move.w [A6 - 0xC], D0
00000FC4 486E FFF4 pea.l [A6 - 0xC]
00000FC8 486E FFF8 pea.l [A6 - 0x8]
00000FCC 7001 moveq.l D0, 0x01
00000FCE 1F00 move.b -[A7], D0
00000FD0 2F2E 000C move.l -[A7], [A6 + 0xC]
00000FD4 4EBA F72A jsr [PC - 0x8D6 /* 00000700 */]
00000FD8 4FEF 000E lea.l A7, [A7 + 0xE]
00000FDC 3C00 move.w D6, D0
00000FDE 3003 move.w D0, D3
00000FE0 48C0 ext.l D0
00000FE2 3205 move.w D1, D5
00000FE4 48C1 ext.l D1
00000FE6 4C01 0800 movem.w A3, D1
00000FEA 2213 move.l D1, [A3]
00000FEC B081 cmp.l D0, D1
00000FEE 6E04 bgt +0x6 /* 00000FF4 */
00000FF0 70FF moveq.l D0, 0xFFFFFFFF
00000FF2 2680 move.l [A3], D0
label00000FF4:
00000FF4 3006 move.w D0, D6
00000FF6 4CDF 0878 movem.l D3,D4,D5,D6,A3, [A7]+
00000FFA 4E5E unlink A6
00000FFC 4E75 rts
00000FFE 4E56 0000 link A6, 0
00001002 48E7 0030 movem.l -[A7], A2,A3
00001006 266E 000C movea.l A3, [A6 + 0xC]
0000100A 554F subq.w A7, 2
0000100C 204B movea.l A0, A3
0000100E 41E8 0184 lea.l A0, [A0 + 0x184]
00001012 2F08 move.l -[A7], A0
00001014 A8AE syscall EmptyRect
00001016 101F move.b D0, [A7]+
00001018 660A bne +0xC /* 00001024 */
0000101A 7016 moveq.l D0, 0x16
0000101C 3F00 move.w -[A7], D0
0000101E 4EBA 08E0 jsr [PC + 0x8E0 /* 00001900 */]
00001022 544F addq.w A7, 2
label00001024:
00001024 554F subq.w A7, 2
00001026 244B movea.l A2, A3
00001028 45EA 0178 lea.l A2, [A2 + 0x178]
0000102C 2F0A move.l -[A7], A2
0000102E 204B movea.l A0, A3
00001030 41E8 0184 lea.l A0, [A0 + 0x184]
00001034 2F08 move.l -[A7], A0
00001036 A8A6 syscall EqualRect
00001038 101F move.b D0, [A7]+
0000103A 6714 beq +0x16 /* 00001050 */
0000103C 7004 moveq.l D0, 0x04
0000103E 3F00 move.w -[A7], D0
00001040 3F3C 0BB8 move.w -[A7], 0xBB8
00001044 7019 moveq.l D0, 0x19
00001046 3F00 move.w -[A7], D0
00001048 4EBA 091E jsr [PC + 0x91E /* 00001968 */]
0000104C 5C4F addq.w A7, 6
0000104E 6012 bra +0x14 /* 00001062 */
label00001050:
00001050 7003 moveq.l D0, 0x03
00001052 3F00 move.w -[A7], D0
00001054 3F3C 0BB8 move.w -[A7], 0xBB8
00001058 7019 moveq.l D0, 0x19
0000105A 3F00 move.w -[A7], D0
0000105C 4EBA 090A jsr [PC + 0x90A /* 00001968 */]
00001060 5C4F addq.w A7, 6
label00001062:
00001062 7019 moveq.l D0, 0x19
00001064 3F00 move.w -[A7], D0
00001066 4EBA 0898 jsr [PC + 0x898 /* 00001900 */]
0000106A 544F addq.w A7, 2
0000106C 4240 clr.w D0
0000106E 4CDF 0C00 movem.l A2,A3, [A7]+
00001072 4E5E unlink A6
00001074 4E75 rts
00001076 4E56 0000 link A6, 0
0000107A 48E7 0830 movem.l -[A7], D4,A2,A3
0000107E 266E 000C movea.l A3, [A6 + 0xC]
00001082 4244 clr.w D4
00001084 302E 0010 move.w D0, [A6 + 0x10]
00001088 48C0 ext.l D0
0000108A 7216 moveq.l D1, 0x16
0000108C B081 cmp.l D0, D1
0000108E 6708 beq +0xA /* 00001098 */
00001090 7219 moveq.l D1, 0x19
00001092 B081 cmp.l D0, D1
00001094 670E beq +0x10 /* 000010A4 */
00001096 6078 bra +0x7A /* 00001110 */
label00001098:
00001098 2F0B move.l -[A7], A3
0000109A 4EBA FAAE jsr [PC - 0x552 /* 00000B4A */]
0000109E 584F addq.w A7, 4
000010A0 3800 move.w D4, D0
000010A2 606C bra +0x6E /* 00001110 */
label000010A4:
000010A4 4227 clr.b -[A7]
000010A6 244B movea.l A2, A3
000010A8 45EA 018C lea.l A2, [A2 + 0x18C]
000010AC 2F0A move.l -[A7], A2
000010AE 244B movea.l A2, A3
000010B0 45EA 0184 lea.l A2, [A2 + 0x184]
000010B4 2F0A move.l -[A7], A2
000010B6 2F0B move.l -[A7], A3
000010B8 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
000010BC 4FEF 000C lea.l A7, [A7 + 0xC]
000010C0 204B movea.l A0, A3
000010C2 41E8 0178 lea.l A0, [A0 + 0x178]
000010C6 2F08 move.l -[A7], A0
000010C8 2F0A move.l -[A7], A2
000010CA A8A6 syscall EqualRect
000010CC 101F move.b D0, [A7]+
000010CE 6712 beq +0x14 /* 000010E2 */
000010D0 4240 clr.w D0
000010D2 3480 move.w [A2], D0
000010D4 3740 0186 move.w [A3 + 0x186], D0
000010D8 3740 0188 move.w [A3 + 0x188], D0
000010DC 3740 018A move.w [A3 + 0x18A], D0
000010E0 6010 bra +0x12 /* 000010F2 */
label000010E2:
000010E2 244B movea.l A2, A3
000010E4 45EA 0178 lea.l A2, [A2 + 0x178]
000010E8 204B movea.l A0, A3
000010EA 41E8 0184 lea.l A0, [A0 + 0x184]
000010EE 20DA move.l [A0]+, [A2]+
000010F0 20DA move.l [A0]+, [A2]+
label000010F2:
000010F2 7001 moveq.l D0, 0x01
000010F4 1F00 move.b -[A7], D0
000010F6 244B movea.l A2, A3
000010F8 45EA 018C lea.l A2, [A2 + 0x18C]
000010FC 2F0A move.l -[A7], A2
000010FE 204B movea.l A0, A3
00001100 41E8 0184 lea.l A0, [A0 + 0x184]
00001104 2F08 move.l -[A7], A0
00001106 2F0B move.l -[A7], A3
00001108 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
0000110C 4FEF 000E lea.l A7, [A7 + 0xE]
label00001110:
00001110 3004 move.w D0, D4
00001112 4CDF 0C10 movem.l D4,A2,A3, [A7]+
00001116 4E5E unlink A6
00001118 4E75 rts
0000111A 4E56 0000 link A6, 0
0000111E 554F subq.w A7, 2
00001120 206E 000C movea.l A0, [A6 + 0xC]
00001124 41E8 0184 lea.l A0, [A0 + 0x184]
00001128 2F08 move.l -[A7], A0
0000112A A8AE syscall EmptyRect
0000112C 101F move.b D0, [A7]+
0000112E 6604 bne +0x6 /* 00001134 */
00001130 7000 moveq.l D0, 0x00
00001132 6006 bra +0x8 /* 0000113A */
label00001134:
00001134 203C 0000 4650 move.l D0, 0x4650 /* 'FP' */
label0000113A:
0000113A 4E5E unlink A6
0000113C 4E75 rts
0000113E 4E56 0000 link A6, 0
00001142 48E7 0038 movem.l -[A7], A2,A3,A4
00001146 286E 000C movea.l A4, [A6 + 0xC]
0000114A 102D FD80 move.b D0, [A5 - 0x280]
0000114E 665E bne +0x60 /* 000011AE */
00001150 246E 0010 movea.l A2, [A6 + 0x10]
00001154 4A52 tst.w [A2]
00001156 6656 bne +0x58 /* 000011AE */
00001158 594F subq.w A7, 4
0000115A A924 syscall FrontWindow
0000115C 205F movea.l A0, [A7]+
0000115E 266E 0008 movea.l A3, [A6 + 0x8]
00001162 B1CB cmpa.l A0, A3
00001164 6648 bne +0x4A /* 000011AE */
00001166 554F subq.w A7, 2
00001168 2F2B 007A move.l -[A7], [A3 + 0x7A]
0000116C A8E2 syscall EmptyRgn
0000116E 101F move.b D0, [A7]+
00001170 673C beq +0x3E /* 000011AE */
00001172 202A 0006 move.l D0, [A2 + 0x6]
00001176 7207 moveq.l D1, 0x07
00001178 C041 and.w D0, D1
0000117A 7204 moveq.l D1, 0x04
0000117C B041 cmp.w D0, D1
0000117E 662E bne +0x30 /* 000011AE */
00001180 4227 clr.b -[A7]
00001182 244C movea.l A2, A4
00001184 45EA 018C lea.l A2, [A2 + 0x18C]
00001188 2F0A move.l -[A7], A2
0000118A 264C movea.l A3, A4
0000118C 47EB 0184 lea.l A3, [A3 + 0x184]
00001190 2F0B move.l -[A7], A3
00001192 2F0C move.l -[A7], A4
00001194 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
00001198 4FEF 000E lea.l A7, [A7 + 0xE]
0000119C 7001 moveq.l D0, 0x01
0000119E 1F00 move.b -[A7], D0
000011A0 2F0A move.l -[A7], A2
000011A2 2F0B move.l -[A7], A3
000011A4 2F0C move.l -[A7], A4
000011A6 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
000011AA 4FEF 000E lea.l A7, [A7 + 0xE]
label000011AE:
000011AE 4200 clr.b D0
000011B0 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000011B4 4E5E unlink A6
000011B6 4E75 rts
000011B8 4E56 FFF0 link A6, -0x0010
000011BC 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
000011C0 266E 000C movea.l A3, [A6 + 0xC]
000011C4 4245 clr.w D5
000011C6 41FA FA56 lea.l A0, [PC - 0x5AA /* 00000C1E, value 0x4E560000 'NV\0\0', cstring "NV" */]
000011CA 2748 012A move.l [A3 + 0x12A], A0
000011CE 41FA FAC0 lea.l A0, [PC - 0x540 /* 00000C90, value 0x4E560000 'NV\0\0', cstring "NV" */]
000011D2 2748 0102 move.l [A3 + 0x102], A0
000011D6 41FA FAD6 lea.l A0, [PC - 0x52A /* 00000CAE, value 0x4E560000 'NV\0\0', cstring "NV" */]
000011DA 2748 00FE move.l [A3 + 0xFE], A0
000011DE 41FA FAE2 lea.l A0, [PC - 0x51E /* 00000CC2, value 0x4E56FFF4 */]
000011E2 2748 013A move.l [A3 + 0x13A], A0
000011E6 41FA FB8A lea.l A0, [PC - 0x476 /* 00000D72, value 0x4E56FFEC */]
000011EA 2748 010E move.l [A3 + 0x10E], A0
000011EE 41FA FC86 lea.l A0, [PC - 0x37A /* 00000E76, value 0x4E56FFF8 */]
000011F2 2748 0112 move.l [A3 + 0x112], A0
000011F6 41FA FE06 lea.l A0, [PC - 0x1FA /* 00000FFE, value 0x4E560000 'NV\0\0', cstring "NV" */]
000011FA 2748 0132 move.l [A3 + 0x132], A0
000011FE 41FA FCF8 lea.l A0, [PC - 0x308 /* 00000EF8, value 0x4E56FFEC */]
00001202 2748 0142 move.l [A3 + 0x142], A0
00001206 41FA FE6E lea.l A0, [PC - 0x192 /* 00001076, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000120A 2748 013E move.l [A3 + 0x13E], A0
0000120E 41FA FF2E lea.l A0, [PC - 0xD2 /* 0000113E, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001212 2748 0122 move.l [A3 + 0x122], A0
00001216 41FA FF02 lea.l A0, [PC - 0xFE /* 0000111A, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000121A 2748 0146 move.l [A3 + 0x146], A0
0000121E 41FA FC20 lea.l A0, [PC - 0x3E0 /* 00000E40, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001222 2748 011E move.l [A3 + 0x11E], A0
00001226 177C 0001 0152 move.b [A3 + 0x152], 0x1
0000122C 760A moveq.l D3, 0x0A
0000122E 3743 0168 move.w [A3 + 0x168], D3
00001232 3743 016A move.w [A3 + 0x16A], D3
00001236 43EE FFF4 lea.l A1, [A6 - 0xC]
0000123A A11D syscall MaxMem, flags=1
0000123C 2288 move.l [A1], A0
0000123E 2800 move.l D4, D0
00001240 2004 move.l D0, D4
00001242 E280 asr D0, 1
00001244 2800 move.l D4, D0
00001246 554F subq.w A7, 2
00001248 3F2B 00EA move.w -[A7], [A3 + 0xEA]
0000124C 486E FFF0 pea.l [A6 - 0x10]
00001250 4EBA 4A2C jsr [PC + 0x4A2C /* 00005C7E */]
00001254 544F addq.w A7, 2
00001256 04AE 0000 0200 FFF0 subi.l [A6 - 0x10], 0x200
0000125E 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00001262 0CAE 0000 000A FFF0 cmpi.l [A6 - 0x10], 0xA /* '\n' */
0000126A 6408 bcc +0xA /* 00001274 */
0000126C 3A3C 00CA move.w D5, 0xCA
00001270 6000 0088 bra +0x8A /* 000012FA */
label00001274:
00001274 262E FFF0 move.l D3, [A6 - 0x10]
00001278 B883 cmp.l D4, D3
0000127A 6F32 ble +0x34 /* 000012AE */
0000127C 2003 move.l D0, D3
0000127E A122 syscall NewHandle, flags=1
00001280 2848 movea.l A4, A0
00001282 200C move.l D0, A4
00001284 6728 beq +0x2A /* 000012AE */
00001286 554F subq.w A7, 2
00001288 3F2B 00EA move.w -[A7], [A3 + 0xEA]
0000128C 7001 moveq.l D0, 0x01
0000128E 3F00 move.w -[A7], D0
00001290 2F3C 0000 0200 move.l -[A7], 0x200
00001296 4EBA 4A28 jsr [PC + 0x4A28 /* 00005CC0 */]
0000129A 3F2B 00EA move.w -[A7], [A3 + 0xEA]
0000129E 486E FFF0 pea.l [A6 - 0x10]
000012A2 2F14 move.l -[A7], [A4]
000012A4 4EBA 4970 jsr [PC + 0x4970 /* 00005C16 */]
000012A8 544F addq.w A7, 2
000012AA 274C 0180 move.l [A3 + 0x180], A4
label000012AE:
000012AE 42A7 clr.l -[A7]
000012B0 244B movea.l A2, A3
000012B2 45EA 0178 lea.l A2, [A2 + 0x178]
000012B6 2F0A move.l -[A7], A2
000012B8 4227 clr.b -[A7]
000012BA 2F0B move.l -[A7], A3
000012BC 4EBA F442 jsr [PC - 0xBBE /* 00000700 */]
000012C0 4FEF 000E lea.l A7, [A7 + 0xE]
000012C4 204B movea.l A0, A3
000012C6 41E8 0178 lea.l A0, [A0 + 0x178]
000012CA 43EE FFF8 lea.l A1, [A6 - 0x8]
000012CE 22D8 move.l [A1]+, [A0]+
000012D0 22D8 move.l [A1]+, [A0]+
000012D2 302B 015A move.w D0, [A3 + 0x15A]
000012D6 362E FFFE move.w D3, [A6 - 0x2]
000012DA B043 cmp.w D0, D3
000012DC 6F08 ble +0xA /* 000012E6 */
000012DE 4A43 tst.w D3
000012E0 6F04 ble +0x6 /* 000012E6 */
000012E2 3743 015A move.w [A3 + 0x15A], D3
label000012E6:
000012E6 302B 0158 move.w D0, [A3 + 0x158]
000012EA 362E FFFC move.w D3, [A6 - 0x4]
000012EE B043 cmp.w D0, D3
000012F0 6F08 ble +0xA /* 000012FA */
000012F2 4A43 tst.w D3
000012F4 6F04 ble +0x6 /* 000012FA */
000012F6 3743 0158 move.w [A3 + 0x158], D3
label000012FA:
000012FA 486D FCA2 pea.l [A5 - 0x35E]
000012FE A851 syscall SetCursor
00001300 3005 move.w D0, D5
00001302 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00001306 4E5E unlink A6
00001308 4E75 rts
0000130A 4E56 0000 link A6, 0
0000130E 48E7 1010 movem.l -[A7], D3,A3
00001312 266E 0008 movea.l A3, [A6 + 0x8]
00001316 7601 moveq.l D3, 0x01
00001318 1743 0006 move.b [A3 + 0x6], D3
0000131C 1743 0007 move.b [A3 + 0x7], D3
00001320 1683 move.b [A3], D3
00001322 41FA FE94 lea.l A0, [PC - 0x16C /* 000011B8, value 0x4E56FFF0 */]
00001326 2748 000E move.l [A3 + 0xE], A0
0000132A 277C 0000 018E 000A move.l [A3 + 0xA], 0x18E
00001332 4240 clr.w D0
00001334 4CDF 0808 movem.l D3,A3, [A7]+
00001338 4E5E unlink A6
0000133A 4E75 rts
fn0000133C:
0000133C 4E56 0000 link A6, 0
00001340 48E7 1810 movem.l -[A7], D3,D4,A3
00001344 266E 0010 movea.l A3, [A6 + 0x10]
00001348 263C 5049 4354 move.l D3, 0x50494354 /* 'PICT' */
0000134E 3013 move.w D0, [A3]
00001350 48C0 ext.l D0
00001352 7802 moveq.l D4, 0x02
00001354 E9A0 asl D0, D4
00001356 D0AE 0008 add.l D0, [A6 + 0x8]
0000135A 2040 movea.l A0, D0
0000135C 2083 move.l [A0], D3
0000135E 3013 move.w D0, [A3]
00001360 48C0 ext.l D0
00001362 E9A0 asl D0, D4
00001364 D0AE 000C add.l D0, [A6 + 0xC]
00001368 2040 movea.l A0, D0
0000136A 2083 move.l [A0], D3
0000136C 5253 addq.w [A3], 1
0000136E 4CDF 0818 movem.l D3,D4,A3, [A7]+
00001372 4E5E unlink A6
00001374 4E75 rts
fn00001376:
00001376 4E56 0000 link A6, 0
0000137A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
0000137E 266E 0008 movea.l A3, [A6 + 0x8]
00001382 286E 000C movea.l A4, [A6 + 0xC]
00001386 246B 0164 movea.l A2, [A3 + 0x164]
0000138A 200A move.l D0, A2
0000138C 670A beq +0xC /* 00001398 */
0000138E 2052 movea.l A0, [A2]
00001390 3028 000C move.w D0, [A0 + 0xC]
00001394 3880 move.w [A4], D0
00001396 601C bra +0x1E /* 000013B4 */
label00001398:
00001398 246B 0160 movea.l A2, [A3 + 0x160]
0000139C 200A move.l D0, A2
0000139E 670A beq +0xC /* 000013AA */
000013A0 2052 movea.l A0, [A2]
000013A2 3028 0008 move.w D0, [A0 + 0x8]
000013A6 3880 move.w [A4], D0
000013A8 600A bra +0xC /* 000013B4 */
label000013AA:
000013AA 302B 0014 move.w D0, [A3 + 0x14]
000013AE 72F1 moveq.l D1, 0xFFFFFFF1
000013B0 D041 add.w D0, D1
000013B2 3880 move.w [A4], D0
label000013B4:
000013B4 246B 0160 movea.l A2, [A3 + 0x160]
000013B8 200A move.l D0, A2
000013BA 670C beq +0xE /* 000013C8 */
000013BC 2052 movea.l A0, [A2]
000013BE 3028 000E move.w D0, [A0 + 0xE]
000013C2 3940 0002 move.w [A4 + 0x2], D0
000013C6 6020 bra +0x22 /* 000013E8 */
label000013C8:
000013C8 246B 0164 movea.l A2, [A3 + 0x164]
000013CC 200A move.l D0, A2
000013CE 670C beq +0xE /* 000013DC */
000013D0 2052 movea.l A0, [A2]
000013D2 3028 000A move.w D0, [A0 + 0xA]
000013D6 3940 0002 move.w [A4 + 0x2], D0
000013DA 600C bra +0xE /* 000013E8 */
label000013DC:
000013DC 302B 0016 move.w D0, [A3 + 0x16]
000013E0 72F1 moveq.l D1, 0xFFFFFFF1
000013E2 D041 add.w D0, D1
000013E4 3940 0002 move.w [A4 + 0x2], D0
label000013E8:
000013E8 302C 0002 move.w D0, [A4 + 0x2]
000013EC 7610 moveq.l D3, 0x10
000013EE D043 add.w D0, D3
000013F0 3940 0006 move.w [A4 + 0x6], D0
000013F4 3014 move.w D0, [A4]
000013F6 D043 add.w D0, D3
000013F8 3940 0004 move.w [A4 + 0x4], D0
000013FC 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00001400 4E5E unlink A6
00001402 4E75 rts
export_4:
fn00001404:
00001404 4E56 FFE4 link A6, -0x001C
00001408 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000140C 4245 clr.w D5
0000140E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001412 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00001416 584F addq.w A7, 4
00001418 2840 movea.l A4, D0
0000141A 202E 0010 move.l D0, [A6 + 0x10]
0000141E 6706 beq +0x8 /* 00001426 */
00001420 206E 0010 movea.l A0, [A6 + 0x10]
00001424 4210 clr.b [A0]
label00001426:
00001426 200C move.l D0, A4
00001428 6700 03F8 beq +0x3FA /* 00001822 */
0000142C 246C 0160 movea.l A2, [A4 + 0x160]
00001430 200A move.l D0, A2
00001432 6716 beq +0x18 /* 0000144A */
00001434 554F subq.w A7, 2
00001436 2F0A move.l -[A7], A2
00001438 A962 syscall GetControlMaximum/GetMaxCtl
0000143A 3C1F move.w D6, [A7]+
0000143C 554F subq.w A7, 2
0000143E 2F2C 0160 move.l -[A7], [A4 + 0x160]
00001442 A960 syscall GetControlValue/GetCtlValue
00001444 301F move.w D0, [A7]+
00001446 3D40 FFFC move.w [A6 - 0x4], D0
label0000144A:
0000144A 246C 0164 movea.l A2, [A4 + 0x164]
0000144E 200A move.l D0, A2
00001450 6716 beq +0x18 /* 00001468 */
00001452 554F subq.w A7, 2
00001454 2F0A move.l -[A7], A2
00001456 A962 syscall GetControlMaximum/GetMaxCtl
00001458 3E1F move.w D7, [A7]+
0000145A 554F subq.w A7, 2
0000145C 2F2C 0164 move.l -[A7], [A4 + 0x164]
00001460 A960 syscall GetControlValue/GetCtlValue
00001462 301F move.w D0, [A7]+
00001464 3D40 FFFE move.w [A6 - 0x2], D0
label00001468:
00001468 102E 000E move.b D0, [A6 + 0xE]
0000146C 6700 00BC beq +0xBE /* 0000152A */
00001470 4A2C 0152 tst.b [A4 + 0x152]
00001474 6700 00B4 beq +0xB6 /* 0000152A */
00001478 202E 0010 move.l D0, [A6 + 0x10]
0000147C 6714 beq +0x16 /* 00001492 */
0000147E 4AAC 0160 tst.l [A4 + 0x160]
00001482 660E bne +0x10 /* 00001492 */
00001484 4AAC 0164 tst.l [A4 + 0x164]
00001488 6608 bne +0xA /* 00001492 */
0000148A 206E 0010 movea.l A0, [A6 + 0x10]
0000148E 10BC 0001 move.b [A0], 0x1
label00001492:
00001492 4AAC 0164 tst.l [A4 + 0x164]
00001496 661E bne +0x20 /* 000014B6 */
00001498 206E 0008 movea.l A0, [A6 + 0x8]
0000149C 7010 moveq.l D0, 0x10
0000149E D1C0 add.l A0, D0
000014A0 43EE FFF4 lea.l A1, [A6 - 0xC]
000014A4 22D8 move.l [A1]+, [A0]+
000014A6 22D8 move.l [A1]+, [A0]+
000014A8 302C 015A move.w D0, [A4 + 0x15A]
000014AC 3D40 FFF6 move.w [A6 - 0xA], D0
000014B0 486E FFF4 pea.l [A6 - 0xC]
000014B4 A928 syscall InvalRect
label000014B6:
000014B6 4AAC 0160 tst.l [A4 + 0x160]
000014BA 661E bne +0x20 /* 000014DA */
000014BC 206E 0008 movea.l A0, [A6 + 0x8]
000014C0 7010 moveq.l D0, 0x10
000014C2 D1C0 add.l A0, D0
000014C4 43EE FFF4 lea.l A1, [A6 - 0xC]
000014C8 22D8 move.l [A1]+, [A0]+
000014CA 22D8 move.l [A1]+, [A0]+
000014CC 302C 0158 move.w D0, [A4 + 0x158]
000014D0 3D40 FFF4 move.w [A6 - 0xC], D0
000014D4 486E FFF4 pea.l [A6 - 0xC]
000014D8 A928 syscall InvalRect
label000014DA:
000014DA 4AAC 0164 tst.l [A4 + 0x164]
000014DE 6622 bne +0x24 /* 00001502 */
000014E0 206E 0008 movea.l A0, [A6 + 0x8]
000014E4 7010 moveq.l D0, 0x10
000014E6 D1C0 add.l A0, D0
000014E8 43EE FFF4 lea.l A1, [A6 - 0xC]
000014EC 22D8 move.l [A1]+, [A0]+
000014EE 22D8 move.l [A1]+, [A0]+
000014F0 302E FFFA move.w D0, [A6 - 0x6]
000014F4 72F1 moveq.l D1, 0xFFFFFFF1
000014F6 D041 add.w D0, D1
000014F8 3D40 FFF6 move.w [A6 - 0xA], D0
000014FC 486E FFF4 pea.l [A6 - 0xC]
00001500 A928 syscall InvalRect
label00001502:
00001502 4AAC 0160 tst.l [A4 + 0x160]
00001506 6622 bne +0x24 /* 0000152A */
00001508 206E 0008 movea.l A0, [A6 + 0x8]
0000150C 7010 moveq.l D0, 0x10
0000150E D1C0 add.l A0, D0
00001510 43EE FFF4 lea.l A1, [A6 - 0xC]
00001514 22D8 move.l [A1]+, [A0]+
00001516 22D8 move.l [A1]+, [A0]+
00001518 302E FFF8 move.w D0, [A6 - 0x8]
0000151C 72F1 moveq.l D1, 0xFFFFFFF1
0000151E D041 add.w D0, D1
00001520 3D40 FFF4 move.w [A6 - 0xC], D0
00001524 486E FFF4 pea.l [A6 - 0xC]
00001528 A928 syscall InvalRect
label0000152A:
0000152A 204C movea.l A0, A4
0000152C 102E 000C move.b D0, [A6 + 0xC]
00001530 6734 beq +0x36 /* 00001566 */
00001532 226E 0008 movea.l A1, [A6 + 0x8]
00001536 7010 moveq.l D0, 0x10
00001538 D3C0 add.l A1, D0
0000153A 41E8 0154 lea.l A0, [A0 + 0x154]
0000153E 20D9 move.l [A0]+, [A1]+
00001540 20D9 move.l [A0]+, [A1]+
00001542 4AAC 0160 tst.l [A4 + 0x160]
00001546 6606 bne +0x8 /* 0000154E */
00001548 4A2C 0152 tst.b [A4 + 0x152]
0000154C 6706 beq +0x8 /* 00001554 */
label0000154E:
0000154E 046C 000F 0158 subi.w [A4 + 0x158], 0xF
label00001554:
00001554 4AAC 0164 tst.l [A4 + 0x164]
00001558 6606 bne +0x8 /* 00001560 */
0000155A 4A2C 0152 tst.b [A4 + 0x152]
0000155E 6706 beq +0x8 /* 00001566 */
label00001560:
00001560 046C 000F 015A subi.w [A4 + 0x15A], 0xF
label00001566:
00001566 246C 0160 movea.l A2, [A4 + 0x160]
0000156A 200A move.l D0, A2
0000156C 6706 beq +0x8 /* 00001574 */
0000156E 2052 movea.l A0, [A2]
00001570 4228 0010 clr.b [A0 + 0x10]
label00001574:
00001574 246C 0164 movea.l A2, [A4 + 0x164]
00001578 200A move.l D0, A2
0000157A 6706 beq +0x8 /* 00001582 */
0000157C 2052 movea.l A0, [A2]
0000157E 4228 0010 clr.b [A0 + 0x10]
label00001582:
00001582 246C 0102 movea.l A2, [A4 + 0x102]
00001586 200A move.l D0, A2
00001588 6700 00C0 beq +0xC2 /* 0000164A */
0000158C 4AAC 0160 tst.l [A4 + 0x160]
00001590 6608 bne +0xA /* 0000159A */
00001592 4AAC 0164 tst.l [A4 + 0x164]
00001596 6700 00B2 beq +0xB4 /* 0000164A */
label0000159A:
0000159A 4227 clr.b -[A7]
0000159C 486E FFE4 pea.l [A6 - 0x1C]
000015A0 2F0C move.l -[A7], A4
000015A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000015A6 4E92 jsr [A2]
000015A8 4FEF 000E lea.l A7, [A7 + 0xE]
000015AC 3A00 move.w D5, D0
000015AE 6600 009A bne +0x9C /* 0000164A */
000015B2 382E FFF2 move.w D4, [A6 - 0xE]
000015B6 986E FFEA sub.w D4, [A6 - 0x16]
000015BA 302C 015A move.w D0, [A4 + 0x15A]
000015BE 906C 0156 sub.w D0, [A4 + 0x156]
000015C2 9840 sub.w D4, D0
000015C4 4AAC 0160 tst.l [A4 + 0x160]
000015C8 6708 beq +0xA /* 000015D2 */
000015CA 4A44 tst.w D4
000015CC 6F04 ble +0x6 /* 000015D2 */
000015CE 3604 move.w D3, D4
000015D0 6002 bra +0x4 /* 000015D4 */
label000015D2:
000015D2 4243 clr.w D3
label000015D4:
000015D4 246C 0160 movea.l A2, [A4 + 0x160]
000015D8 200A move.l D0, A2
000015DA 6722 beq +0x24 /* 000015FE */
000015DC 554F subq.w A7, 2
000015DE 2F0A move.l -[A7], A2
000015E0 A960 syscall GetControlValue/GetCtlValue
000015E2 301F move.w D0, [A7]+
000015E4 B043 cmp.w D0, D3
000015E6 6F0E ble +0x10 /* 000015F6 */
000015E8 202E 0010 move.l D0, [A6 + 0x10]
000015EC 6708 beq +0xA /* 000015F6 */
000015EE 206E 0010 movea.l A0, [A6 + 0x10]
000015F2 10BC 0001 move.b [A0], 0x1
label000015F6:
000015F6 2F2C 0160 move.l -[A7], [A4 + 0x160]
000015FA 3F03 move.w -[A7], D3
000015FC A965 syscall SetControlMaximum/SetMaxCtl
label000015FE:
000015FE 382E FFEE move.w D4, [A6 - 0x12]
00001602 986E FFE6 sub.w D4, [A6 - 0x1A]
00001606 302C 0158 move.w D0, [A4 + 0x158]
0000160A 906C 0154 sub.w D0, [A4 + 0x154]
0000160E 9840 sub.w D4, D0
00001610 4AAC 0164 tst.l [A4 + 0x164]
00001614 6708 beq +0xA /* 0000161E */
00001616 4A44 tst.w D4
00001618 6F04 ble +0x6 /* 0000161E */
0000161A 3604 move.w D3, D4
0000161C 6002 bra +0x4 /* 00001620 */
label0000161E:
0000161E 4243 clr.w D3
label00001620:
00001620 246C 0164 movea.l A2, [A4 + 0x164]
00001624 200A move.l D0, A2
00001626 6722 beq +0x24 /* 0000164A */
00001628 554F subq.w A7, 2
0000162A 2F0A move.l -[A7], A2
0000162C A960 syscall GetControlValue/GetCtlValue
0000162E 301F move.w D0, [A7]+
00001630 B043 cmp.w D0, D3
00001632 6F0E ble +0x10 /* 00001642 */
00001634 202E 0010 move.l D0, [A6 + 0x10]
00001638 6708 beq +0xA /* 00001642 */
0000163A 206E 0010 movea.l A0, [A6 + 0x10]
0000163E 10BC 0001 move.b [A0], 0x1
label00001642:
00001642 2F2C 0164 move.l -[A7], [A4 + 0x164]
00001646 3F03 move.w -[A7], D3
00001648 A965 syscall SetControlMaximum/SetMaxCtl
label0000164A:
0000164A 102E 000C move.b D0, [A6 + 0xC]
0000164E 6700 012A beq +0x12C /* 0000177A */
00001652 4A2C 0152 tst.b [A4 + 0x152]
00001656 6712 beq +0x14 /* 0000166A */
00001658 486E FFF4 pea.l [A6 - 0xC]
0000165C 2F0C move.l -[A7], A4
0000165E 4EBA FD16 jsr [PC - 0x2EA /* 00001376 */]
00001662 504F addq.w A7, 8
00001664 486E FFF4 pea.l [A6 - 0xC]
00001668 A928 syscall InvalRect
label0000166A:
0000166A 4AAC 0160 tst.l [A4 + 0x160]
0000166E 6776 beq +0x78 /* 000016E6 */
00001670 4AAC 0164 tst.l [A4 + 0x164]
00001674 6606 bne +0x8 /* 0000167C */
00001676 4A2C 0152 tst.b [A4 + 0x152]
0000167A 6704 beq +0x6 /* 00001680 */
label0000167C:
0000167C 76F3 moveq.l D3, 0xFFFFFFF3
0000167E 6002 bra +0x4 /* 00001682 */
label00001680:
00001680 76FF moveq.l D3, 0xFFFFFFFF
label00001682:
00001682 244C movea.l A2, A4
00001684 45EA 0160 lea.l A2, [A2 + 0x160]
00001688 2052 movea.l A0, [A2]
0000168A 2050 movea.l A0, [A0]
0000168C 5048 addq.w A0, 8
0000168E 43EE FFF4 lea.l A1, [A6 - 0xC]
00001692 22D8 move.l [A1]+, [A0]+
00001694 22D8 move.l [A1]+, [A0]+
00001696 486E FFF4 pea.l [A6 - 0xC]
0000169A A928 syscall InvalRect
0000169C 2F12 move.l -[A7], [A2]
0000169E 302C 016C move.w D0, [A4 + 0x16C]
000016A2 5340 subq.w D0, 1
000016A4 3F00 move.w -[A7], D0
000016A6 206E 0008 movea.l A0, [A6 + 0x8]
000016AA 3028 0014 move.w D0, [A0 + 0x14]
000016AE 72F1 moveq.l D1, 0xFFFFFFF1
000016B0 D041 add.w D0, D1
000016B2 3F00 move.w -[A7], D0
000016B4 A959 syscall MoveControl
000016B6 2F12 move.l -[A7], [A2]
000016B8 266E 0008 movea.l A3, [A6 + 0x8]
000016BC 302B 0016 move.w D0, [A3 + 0x16]
000016C0 906B 0012 sub.w D0, [A3 + 0x12]
000016C4 D043 add.w D0, D3
000016C6 906C 016C sub.w D0, [A4 + 0x16C]
000016CA 3F00 move.w -[A7], D0
000016CC 7010 moveq.l D0, 0x10
000016CE 3F00 move.w -[A7], D0
000016D0 A95C syscall SizeControl
000016D2 2052 movea.l A0, [A2]
000016D4 2050 movea.l A0, [A0]
000016D6 5048 addq.w A0, 8
000016D8 43EE FFF4 lea.l A1, [A6 - 0xC]
000016DC 22D8 move.l [A1]+, [A0]+
000016DE 22D8 move.l [A1]+, [A0]+
000016E0 486E FFF4 pea.l [A6 - 0xC]
000016E4 A928 syscall InvalRect
label000016E6:
000016E6 4AAC 0164 tst.l [A4 + 0x164]
000016EA 6776 beq +0x78 /* 00001762 */
000016EC 4AAC 0160 tst.l [A4 + 0x160]
000016F0 6606 bne +0x8 /* 000016F8 */
000016F2 4A2C 0152 tst.b [A4 + 0x152]
000016F6 6704 beq +0x6 /* 000016FC */
label000016F8:
000016F8 76F3 moveq.l D3, 0xFFFFFFF3
000016FA 6002 bra +0x4 /* 000016FE */
label000016FC:
000016FC 76FF moveq.l D3, 0xFFFFFFFF
label000016FE:
000016FE 244C movea.l A2, A4
00001700 45EA 0164 lea.l A2, [A2 + 0x164]
00001704 2052 movea.l A0, [A2]
00001706 2050 movea.l A0, [A0]
00001708 5048 addq.w A0, 8
0000170A 43EE FFF4 lea.l A1, [A6 - 0xC]
0000170E 22D8 move.l [A1]+, [A0]+
00001710 22D8 move.l [A1]+, [A0]+
00001712 486E FFF4 pea.l [A6 - 0xC]
00001716 A928 syscall InvalRect
00001718 2F12 move.l -[A7], [A2]
0000171A 206E 0008 movea.l A0, [A6 + 0x8]
0000171E 3028 0016 move.w D0, [A0 + 0x16]
00001722 72F1 moveq.l D1, 0xFFFFFFF1
00001724 D041 add.w D0, D1
00001726 3F00 move.w -[A7], D0
00001728 302C 016E move.w D0, [A4 + 0x16E]
0000172C 5340 subq.w D0, 1
0000172E 3F00 move.w -[A7], D0
00001730 A959 syscall MoveControl
00001732 2F12 move.l -[A7], [A2]
00001734 7010 moveq.l D0, 0x10
00001736 3F00 move.w -[A7], D0
00001738 266E 0008 movea.l A3, [A6 + 0x8]
0000173C 302B 0014 move.w D0, [A3 + 0x14]
00001740 906B 0010 sub.w D0, [A3 + 0x10]
00001744 D043 add.w D0, D3
00001746 906C 016E sub.w D0, [A4 + 0x16E]
0000174A 3F00 move.w -[A7], D0
0000174C A95C syscall SizeControl
0000174E 2052 movea.l A0, [A2]
00001750 2050 movea.l A0, [A0]
00001752 5048 addq.w A0, 8
00001754 43EE FFF4 lea.l A1, [A6 - 0xC]
00001758 22D8 move.l [A1]+, [A0]+
0000175A 22D8 move.l [A1]+, [A0]+
0000175C 486E FFF4 pea.l [A6 - 0xC]
00001760 A928 syscall InvalRect
label00001762:
00001762 4A2C 0152 tst.b [A4 + 0x152]
00001766 6712 beq +0x14 /* 0000177A */
00001768 486E FFF4 pea.l [A6 - 0xC]
0000176C 2F0C move.l -[A7], A4
0000176E 4EBA FC06 jsr [PC - 0x3FA /* 00001376 */]
00001772 504F addq.w A7, 8
00001774 486E FFF4 pea.l [A6 - 0xC]
00001778 A928 syscall InvalRect
label0000177A:
0000177A 246C 010A movea.l A2, [A4 + 0x10A]
0000177E 200A move.l D0, A2
00001780 6712 beq +0x14 /* 00001794 */
00001782 486E 000E pea.l [A6 + 0xE]
00001786 2F0C move.l -[A7], A4
00001788 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000178C 4E92 jsr [A2]
0000178E 4FEF 000C lea.l A7, [A7 + 0xC]
00001792 3A00 move.w D5, D0
label00001794:
00001794 102E 000E move.b D0, [A6 + 0xE]
00001798 670E beq +0x10 /* 000017A8 */
0000179A 202E 0010 move.l D0, [A6 + 0x10]
0000179E 6708 beq +0xA /* 000017A8 */
000017A0 206E 0010 movea.l A0, [A6 + 0x10]
000017A4 10BC 0001 move.b [A0], 0x1
label000017A8:
000017A8 206E 0008 movea.l A0, [A6 + 0x8]
000017AC 4A28 006F tst.b [A0 + 0x6F]
000017B0 6770 beq +0x72 /* 00001822 */
000017B2 244C movea.l A2, A4
000017B4 45EA 0160 lea.l A2, [A2 + 0x160]
000017B8 2652 movea.l A3, [A2]
000017BA 200B move.l D0, A3
000017BC 672C beq +0x2E /* 000017EA */
000017BE 554F subq.w A7, 2
000017C0 2F0B move.l -[A7], A3
000017C2 A962 syscall GetControlMaximum/GetMaxCtl
000017C4 301F move.w D0, [A7]+
000017C6 B046 cmp.w D0, D6
000017C8 660E bne +0x10 /* 000017D8 */
000017CA 554F subq.w A7, 2
000017CC 2F12 move.l -[A7], [A2]
000017CE A960 syscall GetControlValue/GetCtlValue
000017D0 301F move.w D0, [A7]+
000017D2 B06E FFFC cmp.w D0, [A6 - 0x4]
000017D6 6706 beq +0x8 /* 000017DE */
label000017D8:
000017D8 2F12 move.l -[A7], [A2]
000017DA A957 syscall ShowControl
000017DC 600C bra +0xE /* 000017EA */
label000017DE:
000017DE 206C 0160 movea.l A0, [A4 + 0x160]
000017E2 2050 movea.l A0, [A0]
000017E4 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
label000017EA:
000017EA 244C movea.l A2, A4
000017EC 45EA 0164 lea.l A2, [A2 + 0x164]
000017F0 2652 movea.l A3, [A2]
000017F2 200B move.l D0, A3
000017F4 672C beq +0x2E /* 00001822 */
000017F6 554F subq.w A7, 2
000017F8 2F0B move.l -[A7], A3
000017FA A962 syscall GetControlMaximum/GetMaxCtl
000017FC 301F move.w D0, [A7]+
000017FE B047 cmp.w D0, D7
00001800 660E bne +0x10 /* 00001810 */
00001802 554F subq.w A7, 2
00001804 2F12 move.l -[A7], [A2]
00001806 A960 syscall GetControlValue/GetCtlValue
00001808 301F move.w D0, [A7]+
0000180A B06E FFFE cmp.w D0, [A6 - 0x2]
0000180E 6706 beq +0x8 /* 00001816 */
label00001810:
00001810 2F12 move.l -[A7], [A2]
00001812 A957 syscall ShowControl
00001814 600C bra +0xE /* 00001822 */
label00001816:
00001816 206C 0164 movea.l A0, [A4 + 0x164]
0000181A 2050 movea.l A0, [A0]
0000181C 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
label00001822:
00001822 3005 move.w D0, D5
00001824 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001828 4E5E unlink A6
0000182A 4E75 rts
export_5:
fn0000182C:
0000182C 4E56 FFF8 link A6, -0x0008
00001830 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001834 382E 0008 move.w D4, [A6 + 0x8]
00001838 266E 000A movea.l A3, [A6 + 0xA]
0000183C 286E 000E movea.l A4, [A6 + 0xE]
00001840 554F subq.w A7, 2
00001842 A994 syscall CurResFile
00001844 301F move.w D0, [A7]+
00001846 3D40 FFFC move.w [A6 - 0x4], D0
0000184A 422E FFFE clr.b [A6 - 0x2]
0000184E 3F2D FD6E move.w -[A7], [A5 - 0x292]
00001852 A998 syscall UseResFile
00001854 3E3C 0080 move.w D7, 0x80
00001858 6050 bra +0x52 /* 000018AA */
label0000185A:
0000185A 594F subq.w A7, 4
0000185C 2F3C 4D43 4D44 move.l -[A7], 0x4D434D44 /* 'MCMD' */
00001862 3F07 move.w -[A7], D7
00001864 A81F syscall Get1Resource
00001866 201F move.l D0, [A7]+
00001868 2D40 FFF8 move.l [A6 - 0x8], D0
0000186C 4A80 tst.l D0
0000186E 6738 beq +0x3A /* 000018A8 */
00001870 2040 movea.l A0, D0
00001872 2450 movea.l A2, [A0]
00001874 3C12 move.w D6, [A2]
00001876 7A01 moveq.l D5, 0x01
00001878 602A bra +0x2C /* 000018A4 */
label0000187A:
0000187A 3605 move.w D3, D5
0000187C 3003 move.w D0, D3
0000187E 48C0 ext.l D0
00001880 D080 add.l D0, D0
00001882 D08A add.l D0, A2
00001884 2040 movea.l A0, D0
00001886 3010 move.w D0, [A0]
00001888 B044 cmp.w D0, D4
0000188A 6616 bne +0x18 /* 000018A2 */
0000188C 3687 move.w [A3], D7
0000188E 3885 move.w [A4], D5
00001890 3006 move.w D0, D6
00001892 BA40 cmp.w D5, D0
00001894 6704 beq +0x6 /* 0000189A */
00001896 7000 moveq.l D0, 0x00
00001898 6002 bra +0x4 /* 0000189C */
label0000189A:
0000189A 7001 moveq.l D0, 0x01
label0000189C:
0000189C 2000 move.l D0, D0
0000189E 1D40 FFFE move.b [A6 - 0x2], D0
label000018A2:
000018A2 5245 addq.w D5, 1
label000018A4:
000018A4 BA46 cmp.w D5, D6
000018A6 6FD2 ble -0x2C /* 0000187A */
label000018A8:
000018A8 5247 addq.w D7, 1
label000018AA:
000018AA 0C47 0088 cmpi.w D7, 0x88
000018AE 63AA bls -0x54 /* 0000185A */
000018B0 3F2E FFFC move.w -[A7], [A6 - 0x4]
000018B4 A998 syscall UseResFile
000018B6 102E FFFE move.b D0, [A6 - 0x2]
000018BA 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000018BE 4E5E unlink A6
000018C0 4E75 rts
fn000018C2:
000018C2 4E56 FFFC link A6, -0x0004
000018C6 2F0A move.l -[A7], A2
000018C8 486E FFFE pea.l [A6 - 0x2]
000018CC 486E FFFC pea.l [A6 - 0x4]
000018D0 3F2E 0008 move.w -[A7], [A6 + 0x8]
000018D4 4EBA FF56 jsr [PC - 0xAA /* 0000182C */]
000018D8 5C8F addq.l A7, 6
000018DA 3F2E FFFC move.w -[A7], [A6 - 0x4]
000018DE A949 syscall GetMenuHandle
000018E0 245F movea.l A2, [A7]+
000018E2 7001 moveq.l D0, 0x01
000018E4 322E FFFE move.w D1, [A6 - 0x2]
000018E8 48C1 ext.l D1
000018EA E3A0 asl D0, D1
000018EC 2052 movea.l A0, [A2]
000018EE C0A8 000A and.l D0, [A0 + 0xA]
000018F2 6704 beq +0x6 /* 000018F8 */
000018F4 7001 moveq.l D0, 0x01
000018F6 6002 bra +0x4 /* 000018FA */
label000018F8:
000018F8 4200 clr.b D0
label000018FA:
000018FA 245F movea.l A2, [A7]+
000018FC 4E5E unlink A6
000018FE 4E75 rts
export_6:
fn00001900:
00001900 4E56 FFFC link A6, -0x0004
00001904 48E7 0C20 movem.l -[A7], D4,D5,A2
00001908 486E FFFE pea.l [A6 - 0x2]
0000190C 486E FFFC pea.l [A6 - 0x4]
00001910 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001914 4EBA FF16 jsr [PC - 0xEA /* 0000182C */]
00001918 4FEF 000A lea.l A7, [A7 + 0xA]
0000191C 4A00 tst.b D0
0000191E 672A beq +0x2C /* 0000194A */
00001920 594F subq.w A7, 4
00001922 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001926 A949 syscall GetMenuHandle
00001928 245F movea.l A2, [A7]+
0000192A 200A move.l D0, A2
0000192C 6732 beq +0x34 /* 00001960 */
0000192E 554F subq.w A7, 2
00001930 2F0A move.l -[A7], A2
00001932 A950 syscall CountMItems
00001934 3A1F move.w D5, [A7]+
00001936 382E FFFE move.w D4, [A6 - 0x2]
0000193A 6008 bra +0xA /* 00001944 */
label0000193C:
0000193C 2F0A move.l -[A7], A2
0000193E 3F04 move.w -[A7], D4
00001940 A939 syscall EnableItem
00001942 5244 addq.w D4, 1
label00001944:
00001944 B845 cmp.w D4, D5
00001946 6E18 bgt +0x1A /* 00001960 */
00001948 60F2 bra -0xC /* 0000193C */
label0000194A:
0000194A 594F subq.w A7, 4
0000194C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001950 A949 syscall GetMenuHandle
00001952 245F movea.l A2, [A7]+
00001954 200A move.l D0, A2
00001956 6708 beq +0xA /* 00001960 */
00001958 2F0A move.l -[A7], A2
0000195A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000195E A939 syscall EnableItem
label00001960:
00001960 4CDF 0430 movem.l D4,D5,A2, [A7]+
00001964 4E5E unlink A6
00001966 4E75 rts
export_7:
fn00001968:
00001968 4E56 FEFC link A6, -0x0104
0000196C 2F0A move.l -[A7], A2
0000196E 486E FEFE pea.l [A6 - 0x102]
00001972 486E FEFC pea.l [A6 - 0x104]
00001976 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000197A 4EBA FEB0 jsr [PC - 0x150 /* 0000182C */]
0000197E 5C8F addq.l A7, 6
00001980 3F2E FEFC move.w -[A7], [A6 - 0x104]
00001984 A949 syscall GetMenuHandle
00001986 245F movea.l A2, [A7]+
00001988 486E FF00 pea.l [A6 - 0x100]
0000198C 3F2E 000A move.w -[A7], [A6 + 0xA]
00001990 3F2E 000C move.w -[A7], [A6 + 0xC]
00001994 4EBA 44EA jsr [PC + 0x44EA /* 00005E80 */]
00001998 2F0A move.l -[A7], A2
0000199A 3F2E FEFE move.w -[A7], [A6 - 0x102]
0000199E 486E FF00 pea.l [A6 - 0x100]
000019A2 A947 syscall SetMenuItemText/SetItem
000019A4 245F movea.l A2, [A7]+
000019A6 4E5E unlink A6
000019A8 4E75 rts
export_8:
000019AA 4E56 FFFC link A6, -0x0004
000019AE 48E7 0C20 movem.l -[A7], D4,D5,A2
000019B2 486E FFFE pea.l [A6 - 0x2]
000019B6 486E FFFC pea.l [A6 - 0x4]
000019BA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000019BE 4EBA FE6C jsr [PC - 0x194 /* 0000182C */]
000019C2 4FEF 000A lea.l A7, [A7 + 0xA]
000019C6 4A00 tst.b D0
000019C8 6730 beq +0x32 /* 000019FA */
000019CA 594F subq.w A7, 4
000019CC 3F2E FFFC move.w -[A7], [A6 - 0x4]
000019D0 A949 syscall GetMenuHandle
000019D2 245F movea.l A2, [A7]+
000019D4 554F subq.w A7, 2
000019D6 2F0A move.l -[A7], A2
000019D8 A950 syscall CountMItems
000019DA 3A1F move.w D5, [A7]+
000019DC 382E FFFE move.w D4, [A6 - 0x2]
000019E0 6012 bra +0x14 /* 000019F4 */
label000019E2:
000019E2 2F0A move.l -[A7], A2
000019E4 3F04 move.w -[A7], D4
000019E6 A939 syscall EnableItem
000019E8 2F0A move.l -[A7], A2
000019EA 3F04 move.w -[A7], D4
000019EC 1F2E 000A move.b -[A7], [A6 + 0xA]
000019F0 A945 syscall CheckItem
000019F2 5244 addq.w D4, 1
label000019F4:
000019F4 B845 cmp.w D4, D5
000019F6 6E20 bgt +0x22 /* 00001A18 */
000019F8 60E8 bra -0x16 /* 000019E2 */
label000019FA:
000019FA 594F subq.w A7, 4
000019FC 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001A00 A949 syscall GetMenuHandle
00001A02 245F movea.l A2, [A7]+
00001A04 2F0A move.l -[A7], A2
00001A06 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A0A A939 syscall EnableItem
00001A0C 2F0A move.l -[A7], A2
00001A0E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A12 1F2E 000A move.b -[A7], [A6 + 0xA]
00001A16 A945 syscall CheckItem
label00001A18:
00001A18 4CDF 0430 movem.l D4,D5,A2, [A7]+
00001A1C 4E5E unlink A6
00001A1E 4E75 rts
export_9:
00001A20 4E56 FFFC link A6, -0x0004
00001A24 48E7 0E20 movem.l -[A7], D4,D5,D6,A2
00001A28 3A2E 000C move.w D5, [A6 + 0xC]
00001A2C 486E FFFE pea.l [A6 - 0x2]
00001A30 486E FFFC pea.l [A6 - 0x4]
00001A34 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001A38 4EBA FDF2 jsr [PC - 0x20E /* 0000182C */]
00001A3C 4FEF 000A lea.l A7, [A7 + 0xA]
00001A40 4A00 tst.b D0
00001A42 6738 beq +0x3A /* 00001A7C */
00001A44 594F subq.w A7, 4
00001A46 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001A4A A949 syscall GetMenuHandle
00001A4C 245F movea.l A2, [A7]+
00001A4E 554F subq.w A7, 2
00001A50 2F0A move.l -[A7], A2
00001A52 A950 syscall CountMItems
00001A54 3C1F move.w D6, [A7]+
00001A56 382E FFFE move.w D4, [A6 - 0x2]
00001A5A 601A bra +0x1C /* 00001A76 */
label00001A5C:
00001A5C 2F0A move.l -[A7], A2
00001A5E 3F04 move.w -[A7], D4
00001A60 A939 syscall EnableItem
00001A62 2F0A move.l -[A7], A2
00001A64 3F04 move.w -[A7], D4
00001A66 1F2E 000A move.b -[A7], [A6 + 0xA]
00001A6A A945 syscall CheckItem
00001A6C 2F0A move.l -[A7], A2
00001A6E 3F04 move.w -[A7], D4
00001A70 3F05 move.w -[A7], D5
00001A72 A942 syscall SetItmStyle
00001A74 5244 addq.w D4, 1
label00001A76:
00001A76 B846 cmp.w D4, D6
00001A78 6E2A bgt +0x2C /* 00001AA4 */
00001A7A 60E0 bra -0x1E /* 00001A5C */
label00001A7C:
00001A7C 594F subq.w A7, 4
00001A7E 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001A82 A949 syscall GetMenuHandle
00001A84 245F movea.l A2, [A7]+
00001A86 2F0A move.l -[A7], A2
00001A88 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A8C A939 syscall EnableItem
00001A8E 2F0A move.l -[A7], A2
00001A90 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A94 1F2E 000A move.b -[A7], [A6 + 0xA]
00001A98 A945 syscall CheckItem
00001A9A 2F0A move.l -[A7], A2
00001A9C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001AA0 3F05 move.w -[A7], D5
00001AA2 A942 syscall SetItmStyle
label00001AA4:
00001AA4 4CDF 0470 movem.l D4,D5,D6,A2, [A7]+
00001AA8 4E5E unlink A6
00001AAA 4E75 rts
export_10:
fn00001AAC:
00001AAC 4E56 FFCC link A6, -0x0034
00001AB0 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001AB4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001AB8 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00001ABC 584F addq.w A7, 4
00001ABE 2840 movea.l A4, D0
00001AC0 383C 0080 move.w D4, 0x80
00001AC4 6072 bra +0x74 /* 00001B38 */
label00001AC6:
00001AC6 594F subq.w A7, 4
00001AC8 3F04 move.w -[A7], D4
00001ACA A949 syscall GetMenuHandle
00001ACC 265F movea.l A3, [A7]+
00001ACE 3004 move.w D0, D4
00001AD0 3200 move.w D1, D0
00001AD2 48C1 ext.l D1
00001AD4 E581 asl D1, 2
00001AD6 41EE FDD8 lea.l A0, [A6 - 0x228]
00001ADA 218B 1000 move.l [A0 + D1.w], A3
00001ADE 220B move.l D1, A3
00001AE0 6754 beq +0x56 /* 00001B36 */
00001AE2 263C 0000 0088 move.l D3, 0x88
00001AE8 3200 move.w D1, D0
00001AEA 48C1 ext.l D1
00001AEC 9681 sub.l D3, D1
00001AEE 41EE FFCC lea.l A0, [A6 - 0x34]
00001AF2 D688 add.l D3, A0
00001AF4 2043 movea.l A0, D3
00001AF6 102E 000E move.b D0, [A6 + 0xE]
00001AFA 6704 beq +0x6 /* 00001B00 */
00001AFC 4210 clr.b [A0]
00001AFE 602E bra +0x30 /* 00001B2E */
label00001B00:
00001B00 2053 movea.l A0, [A3]
00001B02 2028 000A move.l D0, [A0 + 0xA]
00001B06 4480 neg.l D0
00001B08 9180 subx.l D0, D0
00001B0A 4480 neg.l D0
00001B0C 7201 moveq.l D1, 0x01
00001B0E B081 cmp.l D0, D1
00001B10 6704 beq +0x6 /* 00001B16 */
00001B12 7000 moveq.l D0, 0x00
00001B14 6002 bra +0x4 /* 00001B18 */
label00001B16:
00001B16 7001 moveq.l D0, 0x01
label00001B18:
00001B18 2000 move.l D0, D0
00001B1A 223C 0000 0088 move.l D1, 0x88
00001B20 3404 move.w D2, D4
00001B22 48C2 ext.l D2
00001B24 9282 sub.l D1, D2
00001B26 41EE FFCC lea.l A0, [A6 - 0x34]
00001B2A 1180 1000 move.b [A0 + D1.w], D0
label00001B2E:
00001B2E 7000 moveq.l D0, 0x00
00001B30 2053 movea.l A0, [A3]
00001B32 2140 000A move.l [A0 + 0xA], D0
label00001B36:
00001B36 5244 addq.w D4, 1
label00001B38:
00001B38 0C44 0088 cmpi.w D4, 0x88
00001B3C 6388 bls -0x76 /* 00001AC6 */
00001B3E 7003 moveq.l D0, 0x03
00001B40 3F00 move.w -[A7], D0
00001B42 3F3C 0BB8 move.w -[A7], 0xBB8
00001B46 7019 moveq.l D0, 0x19
00001B48 3F00 move.w -[A7], D0
00001B4A 4EBA FE1C jsr [PC - 0x1E4 /* 00001968 */]
00001B4E 5C4F addq.w A7, 6
00001B50 202E 0008 move.l D0, [A6 + 0x8]
00001B54 6704 beq +0x6 /* 00001B5A */
00001B56 200C move.l D0, A4
00001B58 673E beq +0x40 /* 00001B98 */
label00001B5A:
00001B5A 7001 moveq.l D0, 0x01
00001B5C 3F00 move.w -[A7], D0
00001B5E 4EBA FDA0 jsr [PC - 0x260 /* 00001900 */]
00001B62 544F addq.w A7, 2
00001B64 7002 moveq.l D0, 0x02
00001B66 3F00 move.w -[A7], D0
00001B68 4EBA FD96 jsr [PC - 0x26A /* 00001900 */]
00001B6C 544F addq.w A7, 2
00001B6E 700A moveq.l D0, 0x0A
00001B70 3F00 move.w -[A7], D0
00001B72 4EBA FD8C jsr [PC - 0x274 /* 00001900 */]
00001B76 544F addq.w A7, 2
00001B78 700B moveq.l D0, 0x0B
00001B7A 3F00 move.w -[A7], D0
00001B7C 4EBA FD82 jsr [PC - 0x27E /* 00001900 */]
00001B80 544F addq.w A7, 2
00001B82 7012 moveq.l D0, 0x12
00001B84 3F00 move.w -[A7], D0
00001B86 4EBA FD78 jsr [PC - 0x288 /* 00001900 */]
00001B8A 544F addq.w A7, 2
00001B8C 7022 moveq.l D0, 0x22
00001B8E 3F00 move.w -[A7], D0
00001B90 4EBA FD6E jsr [PC - 0x292 /* 00001900 */]
00001B94 544F addq.w A7, 2
00001B96 6038 bra +0x3A /* 00001BD0 */
label00001B98:
00001B98 102E 000C move.b D0, [A6 + 0xC]
00001B9C 6728 beq +0x2A /* 00001BC6 */
00001B9E 7015 moveq.l D0, 0x15
00001BA0 3F00 move.w -[A7], D0
00001BA2 4EBA FD5C jsr [PC - 0x2A4 /* 00001900 */]
00001BA6 544F addq.w A7, 2
00001BA8 7016 moveq.l D0, 0x16
00001BAA 3F00 move.w -[A7], D0
00001BAC 4EBA FD52 jsr [PC - 0x2AE /* 00001900 */]
00001BB0 544F addq.w A7, 2
00001BB2 7017 moveq.l D0, 0x17
00001BB4 3F00 move.w -[A7], D0
00001BB6 4EBA FD48 jsr [PC - 0x2B8 /* 00001900 */]
00001BBA 544F addq.w A7, 2
00001BBC 7018 moveq.l D0, 0x18
00001BBE 3F00 move.w -[A7], D0
00001BC0 4EBA FD3E jsr [PC - 0x2C2 /* 00001900 */]
00001BC4 544F addq.w A7, 2
label00001BC6:
00001BC6 7002 moveq.l D0, 0x02
00001BC8 3F00 move.w -[A7], D0
00001BCA 4EBA FD34 jsr [PC - 0x2CC /* 00001900 */]
00001BCE 544F addq.w A7, 2
label00001BD0:
00001BD0 202E 0008 move.l D0, [A6 + 0x8]
00001BD4 676C beq +0x6E /* 00001C42 */
00001BD6 200C move.l D0, A4
00001BD8 6768 beq +0x6A /* 00001C42 */
00001BDA 594F subq.w A7, 4
00001BDC A924 syscall FrontWindow
00001BDE 201F move.l D0, [A7]+
00001BE0 670A beq +0xC /* 00001BEC */
00001BE2 700C moveq.l D0, 0x0C
00001BE4 3F00 move.w -[A7], D0
00001BE6 4EBA FD18 jsr [PC - 0x2E8 /* 00001900 */]
00001BEA 544F addq.w A7, 2
label00001BEC:
00001BEC 4A2C 00F1 tst.b [A4 + 0xF1]
00001BF0 671A beq +0x1C /* 00001C0C */
00001BF2 4A2C 00EE tst.b [A4 + 0xEE]
00001BF6 660A bne +0xC /* 00001C02 */
00001BF8 302C 00EA move.w D0, [A4 + 0xEA]
00001BFC 72FF moveq.l D1, 0xFFFFFFFF
00001BFE B041 cmp.w D0, D1
00001C00 660A bne +0xC /* 00001C0C */
label00001C02:
00001C02 700D moveq.l D0, 0x0D
00001C04 3F00 move.w -[A7], D0
00001C06 4EBA FCF8 jsr [PC - 0x308 /* 00001900 */]
00001C0A 544F addq.w A7, 2
label00001C0C:
00001C0C 4AAC 0142 tst.l [A4 + 0x142]
00001C10 671E beq +0x20 /* 00001C30 */
00001C12 7010 moveq.l D0, 0x10
00001C14 3F00 move.w -[A7], D0
00001C16 4EBA FCE8 jsr [PC - 0x318 /* 00001900 */]
00001C1A 544F addq.w A7, 2
00001C1C 700F moveq.l D0, 0x0F
00001C1E 3F00 move.w -[A7], D0
00001C20 4EBA FCDE jsr [PC - 0x322 /* 00001900 */]
00001C24 544F addq.w A7, 2
00001C26 7011 moveq.l D0, 0x11
00001C28 3F00 move.w -[A7], D0
00001C2A 4EBA FCD4 jsr [PC - 0x32C /* 00001900 */]
00001C2E 544F addq.w A7, 2
label00001C30:
00001C30 246C 0132 movea.l A2, [A4 + 0x132]
00001C34 200A move.l D0, A2
00001C36 670A beq +0xC /* 00001C42 */
00001C38 2F0C move.l -[A7], A4
00001C3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001C3E 4E92 jsr [A2]
00001C40 504F addq.w A7, 8
label00001C42:
00001C42 422E FFFC clr.b [A6 - 0x4]
00001C46 383C 0080 move.w D4, 0x80
00001C4A 6052 bra +0x54 /* 00001C9E */
label00001C4C:
00001C4C 3004 move.w D0, D4
00001C4E 48C0 ext.l D0
00001C50 E580 asl D0, 2
00001C52 41EE FDD8 lea.l A0, [A6 - 0x228]
00001C56 2670 0000 movea.l A3, [A0 + D0.w]
00001C5A 200B move.l D0, A3
00001C5C 673E beq +0x40 /* 00001C9C */
00001C5E 2453 movea.l A2, [A3]
00001C60 700A moveq.l D0, 0x0A
00001C62 D5C0 add.l A2, D0
00001C64 4A92 tst.l [A2]
00001C66 6706 beq +0x8 /* 00001C6E */
00001C68 0092 0000 0001 ori.l [A2], 0x1
label00001C6E:
00001C6E 2053 movea.l A0, [A3]
00001C70 2028 000A move.l D0, [A0 + 0xA]
00001C74 4480 neg.l D0
00001C76 9180 subx.l D0, D0
00001C78 4480 neg.l D0
00001C7A 243C 0000 0088 move.l D2, 0x88
00001C80 3604 move.w D3, D4
00001C82 48C3 ext.l D3
00001C84 9483 sub.l D2, D3
00001C86 41EE FFCC lea.l A0, [A6 - 0x34]
00001C8A 1430 2000 move.b D2, [A0 + D2.w]
00001C8E 7200 moveq.l D1, 0x00
00001C90 1202 move.b D1, D2
00001C92 B081 cmp.l D0, D1
00001C94 6706 beq +0x8 /* 00001C9C */
00001C96 1D7C 0001 FFFC move.b [A6 - 0x4], 0x1
label00001C9C:
00001C9C 5244 addq.w D4, 1
label00001C9E:
00001C9E 0C44 0088 cmpi.w D4, 0x88
00001CA2 63A8 bls -0x56 /* 00001C4C */
00001CA4 102E FFFC move.b D0, [A6 - 0x4]
00001CA8 6702 beq +0x4 /* 00001CAC */
00001CAA A937 syscall DrawMenuBar
label00001CAC:
00001CAC 102E FFFC move.b D0, [A6 - 0x4]
00001CB0 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001CB4 4E5E unlink A6
00001CB6 4E75 rts
fn00001CB8:
00001CB8 4E56 FDA4 link A6, -0x025C
00001CBC 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00001CC0 2A2E 0010 move.l D5, [A6 + 0x10]
00001CC4 266E 0014 movea.l A3, [A6 + 0x14]
00001CC8 78D5 moveq.l D4, 0xFFFFFFD5
00001CCA 7000 moveq.l D0, 0x00
00001CCC 2440 movea.l A2, D0
00001CCE A01C syscall FreeMem
00001CD0 0C80 0001 0000 cmpi.l D0, 0x10000
00001CD6 6C02 bge +0x4 /* 00001CDA */
00001CD8 7894 moveq.l D4, 0xFFFFFF94
label00001CDA:
00001CDA 2F2D FD6A move.l -[A7], [A5 - 0x296]
00001CDE A8DD syscall SetEmptyRgn
00001CE0 202E 000C move.l D0, [A6 + 0xC]
00001CE4 6724 beq +0x26 /* 00001D0A */
00001CE6 0C85 7345 5854 cmpi.l D5, 0x73455854 /* 'sEXT' */
00001CEC 671C beq +0x1E /* 00001D0A */
00001CEE 2F2E 000C move.l -[A7], [A6 + 0xC]
00001CF2 4EAD 0292 jsr [A5 + 0x292 /* export_78 */]
00001CF6 584F addq.w A7, 4
00001CF8 4A00 tst.b D0
00001CFA 670E beq +0x10 /* 00001D0A */
00001CFC 200B move.l D0, A3
00001CFE 6700 0454 beq +0x456 /* 00002154 */
00001D02 16BC 0001 move.b [A3], 0x1
00001D06 6000 044C bra +0x44E /* 00002154 */
label00001D0A:
00001D0A 200B move.l D0, A3
00001D0C 6702 beq +0x4 /* 00001D10 */
00001D0E 4213 clr.b [A3]
label00001D10:
00001D10 70D5 moveq.l D0, 0xFFFFFFD5
00001D12 B840 cmp.w D4, D0
00001D14 6706 beq +0x8 /* 00001D1C */
00001D16 4A44 tst.w D4
00001D18 6600 0468 bne +0x46A /* 00002182 */
label00001D1C:
00001D1C 1D7C 0001 FDA4 move.b [A6 - 0x25C], 0x1
00001D22 3D7C 0080 FDA8 move.w [A6 - 0x258], 0x80
00001D28 4203 clr.b D3
00001D2A 1D43 FDAA move.b [A6 - 0x256], D3
00001D2E 1D43 FDAB move.b [A6 - 0x255], D3
00001D32 2D7C 0000 0178 FDAE move.l [A6 - 0x252], 0x178
00001D3A 7000 moveq.l D0, 0x00
00001D3C 2D40 FDB2 move.l [A6 - 0x24E], D0
00001D40 1D7C 0001 FDA6 move.b [A6 - 0x25A], 0x1
00001D46 1D43 FDA5 move.b [A6 - 0x25B], D3
00001D4A 1D43 FDAC move.b [A6 - 0x254], D3
00001D4E 2D45 FDB6 move.l [A6 - 0x24A], D5
00001D52 202E 0008 move.l D0, [A6 + 0x8]
00001D56 0C80 4142 4F54 cmpi.l D0, 0x41424F54 /* 'ABOT' */
00001D5C 6732 beq +0x34 /* 00001D90 */
00001D5E 0C80 5049 4354 cmpi.l D0, 0x50494354 /* 'PICT' */
00001D64 6730 beq +0x32 /* 00001D96 */
00001D66 0C80 4D6F 6F56 cmpi.l D0, 0x4D6F6F56 /* 'MooV' */
00001D6C 672E beq +0x30 /* 00001D9C */
00001D6E 0C80 436C 6970 cmpi.l D0, 0x436C6970 /* 'Clip' */
00001D74 672C beq +0x2E /* 00001DA2 */
00001D76 0C80 5445 5854 cmpi.l D0, 0x54455854 /* 'TEXT' */
00001D7C 672A beq +0x2C /* 00001DA8 */
00001D7E 0C80 7164 6778 cmpi.l D0, 0x71646778 /* 'qdgx' */
00001D84 6728 beq +0x2A /* 00001DAE */
00001D86 0C80 3344 4D46 cmpi.l D0, 0x33444D46 /* '3DMF' */
00001D8C 6726 beq +0x28 /* 00001DB4 */
00001D8E 6028 bra +0x2A /* 00001DB8 */
label00001D90:
00001D90 45FA E402 lea.l A2, [PC - 0x1BFE /* 00000194, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001D94 6022 bra +0x24 /* 00001DB8 */
label00001D96:
00001D96 45FA F572 lea.l A2, [PC - 0xA8E /* 0000130A, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001D9A 601C bra +0x1E /* 00001DB8 */
label00001D9C:
00001D9C 45ED 01F2 lea.l A2, [A5 + 0x1F2 /* export_58 */]
00001DA0 6016 bra +0x18 /* 00001DB8 */
label00001DA2:
00001DA2 45FA E8AC lea.l A2, [PC - 0x1754 /* 00000650, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001DA6 6010 bra +0x12 /* 00001DB8 */
label00001DA8:
00001DA8 45ED 035A lea.l A2, [A5 + 0x35A /* export_103 */]
00001DAC 600A bra +0xC /* 00001DB8 */
label00001DAE:
00001DAE 45ED 01E2 lea.l A2, [A5 + 0x1E2 /* export_56 */]
00001DB2 6004 bra +0x6 /* 00001DB8 */
label00001DB4:
00001DB4 45FA 37CA lea.l A2, [PC + 0x37CA /* 00005580, value 0x4E560000 'NV\0\0', cstring "NV" */]
label00001DB8:
00001DB8 200A move.l D0, A2
00001DBA 670A beq +0xC /* 00001DC6 */
00001DBC 486E FDA4 pea.l [A6 - 0x25C]
00001DC0 4E92 jsr [A2]
00001DC2 584F addq.w A7, 4
00001DC4 3800 move.w D4, D0
label00001DC6:
00001DC6 4A44 tst.w D4
00001DC8 6600 03B8 bne +0x3BA /* 00002182 */
00001DCC 102E FDA4 move.b D0, [A6 - 0x25C]
00001DD0 6700 0382 beq +0x384 /* 00002154 */
00001DD4 202E FDAE move.l D0, [A6 - 0x252]
00001DD8 A31E syscall NewPtrClear, flags=3
00001DDA 2648 movea.l A3, A0
00001DDC 554F subq.w A7, 2
00001DDE 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00001DE2 381F move.w D4, [A7]+
00001DE4 6600 039C bne +0x39E /* 00002182 */
00001DE8 102D FD79 move.b D0, [A5 - 0x287]
00001DEC 6712 beq +0x14 /* 00001E00 */
00001DEE 594F subq.w A7, 4
00001DF0 3F2E FDA8 move.w -[A7], [A6 - 0x258]
00001DF4 2F0B move.l -[A7], A3
00001DF6 70FF moveq.l D0, 0xFFFFFFFF
00001DF8 2F00 move.l -[A7], D0
00001DFA AA46 syscall GetNewCWindow
00001DFC 285F movea.l A4, [A7]+
00001DFE 6010 bra +0x12 /* 00001E10 */
label00001E00:
00001E00 594F subq.w A7, 4
00001E02 3F2E FDA8 move.w -[A7], [A6 - 0x258]
00001E06 2F0B move.l -[A7], A3
00001E08 70FF moveq.l D0, 0xFFFFFFFF
00001E0A 2F00 move.l -[A7], D0
00001E0C A9BD syscall GetNewWindow
00001E0E 285F movea.l A4, [A7]+
label00001E10:
00001E10 200C move.l D0, A4
00001E12 6602 bne +0x4 /* 00001E16 */
00001E14 7894 moveq.l D4, 0xFFFFFF94
label00001E16:
00001E16 4A44 tst.w D4
00001E18 6600 0364 bne +0x366 /* 0000217E */
00001E1C 2F0C move.l -[A7], A4
00001E1E 2F0B move.l -[A7], A3
00001E20 A918 syscall SetWRefCon
00001E22 204C movea.l A0, A4
00001E24 7010 moveq.l D0, 0x10
00001E26 D1C0 add.l A0, D0
00001E28 43EE FDBC lea.l A1, [A6 - 0x244]
00001E2C 22D8 move.l [A1]+, [A0]+
00001E2E 22D8 move.l [A1]+, [A0]+
00001E30 102D FD79 move.b D0, [A5 - 0x287]
00001E34 6716 beq +0x18 /* 00001E4C */
00001E36 594F subq.w A7, 4
00001E38 AA2A syscall GetMainDevice
00001E3A 205F movea.l A0, [A7]+
00001E3C 2050 movea.l A0, [A0]
00001E3E 7022 moveq.l D0, 0x22
00001E40 D1C0 add.l A0, D0
00001E42 43EE FDC4 lea.l A1, [A6 - 0x23C]
00001E46 22D8 move.l [A1]+, [A0]+
00001E48 22D8 move.l [A1]+, [A0]+
00001E4A 600C bra +0xE /* 00001E58 */
label00001E4C:
00001E4C 41ED FC9A lea.l A0, [A5 - 0x366]
00001E50 43EE FDC4 lea.l A1, [A6 - 0x23C]
00001E54 22D8 move.l [A1]+, [A0]+
00001E56 22D8 move.l [A1]+, [A0]+
label00001E58:
00001E58 554F subq.w A7, 2
00001E5A 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00001E5E 301F move.w D0, [A7]+
00001E60 D040 add.w D0, D0
00001E62 D16E FDC4 add.w [A6 - 0x23C], D0
00001E66 586E FDC6 addq.w [A6 - 0x23A], 4
00001E6A 596E FDC8 subq.w [A6 - 0x238], 4
00001E6E 046E 0041 FDCA subi.w [A6 - 0x236], 0x41 /* 'A' */
00001E74 2F0C move.l -[A7], A4
00001E76 A873 syscall SetPort
00001E78 486E FDBC pea.l [A6 - 0x244]
00001E7C A870 syscall LocalToGlobal
00001E7E 486E FDC0 pea.l [A6 - 0x240]
00001E82 A870 syscall LocalToGlobal
00001E84 102E FDAA move.b D0, [A6 - 0x256]
00001E88 802E FDAC or.b D0, [A6 - 0x254]
00001E8C 670C beq +0xE /* 00001E9A */
00001E8E 3D6E FDC6 FDBE move.w [A6 - 0x242], [A6 - 0x23A]
00001E94 3D6E FDCA FDC2 move.w [A6 - 0x23E], [A6 - 0x236]
label00001E9A:
00001E9A 102E FDAB move.b D0, [A6 - 0x255]
00001E9E 802E FDAC or.b D0, [A6 - 0x254]
00001EA2 670C beq +0xE /* 00001EB0 */
00001EA4 3D6E FDC4 FDBC move.w [A6 - 0x244], [A6 - 0x23C]
00001EAA 3D6E FDC8 FDC0 move.w [A6 - 0x240], [A6 - 0x238]
label00001EB0:
00001EB0 2F0C move.l -[A7], A4
00001EB2 3F2E FDBE move.w -[A7], [A6 - 0x242]
00001EB6 3F2E FDBC move.w -[A7], [A6 - 0x244]
00001EBA 4227 clr.b -[A7]
00001EBC A91B syscall MoveWindow
00001EBE 2F0C move.l -[A7], A4
00001EC0 302E FDC2 move.w D0, [A6 - 0x23E]
00001EC4 906E FDBE sub.w D0, [A6 - 0x242]
00001EC8 3F00 move.w -[A7], D0
00001ECA 302E FDC0 move.w D0, [A6 - 0x240]
00001ECE 906E FDBC sub.w D0, [A6 - 0x244]
00001ED2 3F00 move.w -[A7], D0
00001ED4 4227 clr.b -[A7]
00001ED6 A91D syscall SizeWindow
00001ED8 276E 0008 009C move.l [A3 + 0x9C], [A6 + 0x8]
00001EDE 2745 00A0 move.l [A3 + 0xA0], D5
00001EE2 276E FDB2 00FA move.l [A3 + 0xFA], [A6 - 0x24E]
00001EE8 76FF moveq.l D3, 0xFFFFFFFF
00001EEA 3743 00EC move.w [A3 + 0xEC], D3
00001EEE 3743 00EA move.w [A3 + 0xEA], D3
00001EF2 204C movea.l A0, A4
00001EF4 7010 moveq.l D0, 0x10
00001EF6 D1C0 add.l A0, D0
00001EF8 224B movea.l A1, A3
00001EFA 43E9 0154 lea.l A1, [A1 + 0x154]
00001EFE 22D8 move.l [A1]+, [A0]+
00001F00 22D8 move.l [A1]+, [A0]+
00001F02 102E FDAA move.b D0, [A6 - 0x256]
00001F06 675E beq +0x60 /* 00001F66 */
00001F08 046B 000F 0158 subi.w [A3 + 0x158], 0xF
00001F0E 204C movea.l A0, A4
00001F10 7010 moveq.l D0, 0x10
00001F12 D1C0 add.l A0, D0
00001F14 43EE FDCC lea.l A1, [A6 - 0x234]
00001F18 22D8 move.l [A1]+, [A0]+
00001F1A 22D8 move.l [A1]+, [A0]+
00001F1C 302E FDD0 move.w D0, [A6 - 0x230]
00001F20 72F0 moveq.l D1, 0xFFFFFFF0
00001F22 D041 add.w D0, D1
00001F24 3D40 FDCC move.w [A6 - 0x234], D0
00001F28 102E FDAB move.b D0, [A6 - 0x255]
00001F2C 6706 beq +0x8 /* 00001F34 */
00001F2E 046E 000D FDD2 subi.w [A6 - 0x22E], 0xD /* '\r' */
label00001F34:
00001F34 486E FDCC pea.l [A6 - 0x234]
00001F38 3003 move.w D0, D3
00001F3A 3F00 move.w -[A7], D0
00001F3C 7001 moveq.l D0, 0x01
00001F3E 3F00 move.w -[A7], D0
00001F40 A8A8 syscall OffsetRect
00001F42 594F subq.w A7, 4
00001F44 2F0C move.l -[A7], A4
00001F46 486E FDCC pea.l [A6 - 0x234]
00001F4A 487A 0242 pea.l [PC + 0x242 /* 0000218E, value 0x0, cstring "" */]
00001F4E 7001 moveq.l D0, 0x01
00001F50 1F00 move.b -[A7], D0
00001F52 4267 clr.w -[A7]
00001F54 4267 clr.w -[A7]
00001F56 4267 clr.w -[A7]
00001F58 7010 moveq.l D0, 0x10
00001F5A 3F00 move.w -[A7], D0
00001F5C 42A7 clr.l -[A7]
00001F5E A954 syscall NewControl
00001F60 201F move.l D0, [A7]+
00001F62 2740 0160 move.l [A3 + 0x160], D0
label00001F66:
00001F66 102E FDAB move.b D0, [A6 - 0x255]
00001F6A 675E beq +0x60 /* 00001FCA */
00001F6C 046B 000F 015A subi.w [A3 + 0x15A], 0xF
00001F72 204C movea.l A0, A4
00001F74 7010 moveq.l D0, 0x10
00001F76 D1C0 add.l A0, D0
00001F78 43EE FDCC lea.l A1, [A6 - 0x234]
00001F7C 22D8 move.l [A1]+, [A0]+
00001F7E 22D8 move.l [A1]+, [A0]+
00001F80 302E FDD2 move.w D0, [A6 - 0x22E]
00001F84 72F0 moveq.l D1, 0xFFFFFFF0
00001F86 D041 add.w D0, D1
00001F88 3D40 FDCE move.w [A6 - 0x232], D0
00001F8C 102E FDAB move.b D0, [A6 - 0x255]
00001F90 6706 beq +0x8 /* 00001F98 */
00001F92 046E 000D FDD0 subi.w [A6 - 0x230], 0xD /* '\r' */
label00001F98:
00001F98 486E FDCC pea.l [A6 - 0x234]
00001F9C 7001 moveq.l D0, 0x01
00001F9E 3F00 move.w -[A7], D0
00001FA0 3003 move.w D0, D3
00001FA2 3F00 move.w -[A7], D0
00001FA4 A8A8 syscall OffsetRect
00001FA6 594F subq.w A7, 4
00001FA8 2F0C move.l -[A7], A4
00001FAA 486E FDCC pea.l [A6 - 0x234]
00001FAE 487A 01E0 pea.l [PC + 0x1E0 /* 00002190, value 0x4E56 'NV', cstring "" */]
00001FB2 7001 moveq.l D0, 0x01
00001FB4 1F00 move.b -[A7], D0
00001FB6 4267 clr.w -[A7]
00001FB8 4267 clr.w -[A7]
00001FBA 4267 clr.w -[A7]
00001FBC 7010 moveq.l D0, 0x10
00001FBE 3F00 move.w -[A7], D0
00001FC0 42A7 clr.l -[A7]
00001FC2 A954 syscall NewControl
00001FC4 201F move.l D0, [A7]+
00001FC6 2740 0164 move.l [A3 + 0x164], D0
label00001FCA:
00001FCA 202E 000C move.l D0, [A6 + 0xC]
00001FCE 6700 0086 beq +0x88 /* 00002056 */
00001FD2 554F subq.w A7, 2
00001FD4 2F2E 000C move.l -[A7], [A6 + 0xC]
00001FD8 1F2E FDA6 move.b -[A7], [A6 - 0x25A]
00001FDC 244B movea.l A2, A3
00001FDE 45EA 00EA lea.l A2, [A2 + 0xEA]
00001FE2 2F0A move.l -[A7], A2
00001FE4 7002 moveq.l D0, 0x02
00001FE6 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00001FE8 381F move.w D4, [A7]+
00001FEA 0C44 EC78 cmpi.w D4, 0xEC78
00001FEE 670C beq +0xE /* 00001FFC */
00001FF0 70CF moveq.l D0, 0xFFFFFFCF
00001FF2 B840 cmp.w D4, D0
00001FF4 6706 beq +0x8 /* 00001FFC */
00001FF6 70CA moveq.l D0, 0xFFFFFFCA
00001FF8 B840 cmp.w D4, D0
00001FFA 6626 bne +0x28 /* 00002022 */
label00001FFC:
00001FFC 0C2E 0001 FDA6 cmpi.b [A6 - 0x25A], 0x1
00002002 671E beq +0x20 /* 00002022 */
00002004 1D7C 0001 FDA6 move.b [A6 - 0x25A], 0x1
0000200A 422B 00EE clr.b [A3 + 0xEE]
0000200E 554F subq.w A7, 2
00002010 2F2E 000C move.l -[A7], [A6 + 0xC]
00002014 1F2E FDA6 move.b -[A7], [A6 - 0x25A]
00002018 2F0A move.l -[A7], A2
0000201A 7002 moveq.l D0, 0x02
0000201C AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
0000201E 381F move.w D4, [A7]+
00002020 6006 bra +0x8 /* 00002028 */
label00002022:
00002022 177C 0001 00EE move.b [A3 + 0xEE], 0x1
label00002028:
00002028 4A44 tst.w D4
0000202A 6600 014E bne +0x150 /* 0000217A */
0000202E 554F subq.w A7, 2
00002030 2F2E 000C move.l -[A7], [A6 + 0xC]
00002034 1F2E FDA6 move.b -[A7], [A6 - 0x25A]
00002038 700D moveq.l D0, 0x0D
0000203A AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
0000203C 301F move.w D0, [A7]+
0000203E 3740 00EC move.w [A3 + 0xEC], D0
00002042 206E 000C movea.l A0, [A6 + 0xC]
00002046 224B movea.l A1, A3
00002048 43E9 00A4 lea.l A1, [A1 + 0xA4]
0000204C 7010 moveq.l D0, 0x10
label0000204E:
0000204E 22D8 move.l [A1]+, [A0]+
00002050 51C8 FFFC dbf D0, -0x6 /* 0000204E */
00002054 3290 move.w [A1], [A0]
label00002056:
00002056 4AAB 00FA tst.l [A3 + 0xFA]
0000205A 675E beq +0x60 /* 000020BA */
0000205C 204B movea.l A0, A3
0000205E 41E8 0154 lea.l A0, [A0 + 0x154]
00002062 43EE FDD4 lea.l A1, [A6 - 0x22C]
00002066 22D8 move.l [A1]+, [A0]+
00002068 22D8 move.l [A1]+, [A0]+
0000206A 2F0B move.l -[A7], A3
0000206C 2F0C move.l -[A7], A4
0000206E 206B 00FA movea.l A0, [A3 + 0xFA]
00002072 4E90 jsr [A0]
00002074 504F addq.w A7, 8
00002076 3800 move.w D4, D0
00002078 554F subq.w A7, 2
0000207A 486E FDD4 pea.l [A6 - 0x22C]
0000207E 204B movea.l A0, A3
00002080 41E8 0154 lea.l A0, [A0 + 0x154]
00002084 2F08 move.l -[A7], A0
00002086 A8A6 syscall EqualRect
00002088 101F move.b D0, [A7]+
0000208A 662E bne +0x30 /* 000020BA */
0000208C 2F0C move.l -[A7], A4
0000208E 202B 0164 move.l D0, [A3 + 0x164]
00002092 4480 neg.l D0
00002094 9180 subx.l D0, D0
00002096 4480 neg.l D0
00002098 C1FC 000F muls.w D0, 0xF
0000209C D06B 015A add.w D0, [A3 + 0x15A]
000020A0 3F00 move.w -[A7], D0
000020A2 202B 0160 move.l D0, [A3 + 0x160]
000020A6 4480 neg.l D0
000020A8 9180 subx.l D0, D0
000020AA 4480 neg.l D0
000020AC C1FC 000F muls.w D0, 0xF
000020B0 D06B 0158 add.w D0, [A3 + 0x158]
000020B4 3F00 move.w -[A7], D0
000020B6 4227 clr.b -[A7]
000020B8 A91D syscall SizeWindow
label000020BA:
000020BA 4A44 tst.w D4
000020BC 6600 009A bne +0x9C /* 00002158 */
000020C0 202E 000C move.l D0, [A6 + 0xC]
000020C4 6714 beq +0x16 /* 000020DA */
000020C6 4A2B 00F0 tst.b [A3 + 0xF0]
000020CA 660E bne +0x10 /* 000020DA */
000020CC 2F0C move.l -[A7], A4
000020CE 206E 000C movea.l A0, [A6 + 0xC]
000020D2 5C48 addq.w A0, 6
000020D4 2F08 move.l -[A7], A0
000020D6 A91A syscall SetWTitle
000020D8 6064 bra +0x66 /* 0000213E */
label000020DA:
000020DA 0CAD 0000 0001 FD82 cmpi.l [A5 - 0x27E], 0x1
000020E2 6626 bne +0x28 /* 0000210A */
000020E4 202B 009C move.l D0, [A3 + 0x9C]
000020E8 0C80 5445 5854 cmpi.l D0, 0x54455854 /* 'TEXT' */
000020EE 661A bne +0x1C /* 0000210A */
000020F0 486E FDDC pea.l [A6 - 0x224]
000020F4 3F3C 0BB8 move.w -[A7], 0xBB8
000020F8 7001 moveq.l D0, 0x01
000020FA 3F00 move.w -[A7], D0
000020FC 4EBA 3D82 jsr [PC + 0x3D82 /* 00005E80 */]
00002100 2F0C move.l -[A7], A4
00002102 486E FDDC pea.l [A6 - 0x224]
00002106 A91A syscall SetWTitle
00002108 602A bra +0x2C /* 00002134 */
label0000210A:
0000210A 2F0C move.l -[A7], A4
0000210C 486E FEDC pea.l [A6 - 0x124]
00002110 A919 syscall GetWTitle
00002112 2F2D FD82 move.l -[A7], [A5 - 0x27E]
00002116 486E FFDC pea.l [A6 - 0x24]
0000211A 4EBA 3C20 jsr [PC + 0x3C20 /* 00005D3C */]
0000211E 486E FFDC pea.l [A6 - 0x24]
00002122 486E FEDC pea.l [A6 - 0x124]
00002126 4EAD 026A jsr [A5 + 0x26A /* export_73 */]
0000212A 504F addq.w A7, 8
0000212C 2F0C move.l -[A7], A4
0000212E 486E FEDC pea.l [A6 - 0x124]
00002132 A91A syscall SetWTitle
label00002134:
00002134 4A2B 00EF tst.b [A3 + 0xEF]
00002138 6704 beq +0x6 /* 0000213E */
0000213A 52AD FD82 addq.l [A5 - 0x27E], 1
label0000213E:
0000213E 42A7 clr.l -[A7]
00002140 7601 moveq.l D3, 0x01
00002142 1F03 move.b -[A7], D3
00002144 1F03 move.b -[A7], D3
00002146 2F0C move.l -[A7], A4
00002148 4EBA F2BA jsr [PC - 0xD46 /* 00001404 */]
0000214C 4FEF 000C lea.l A7, [A7 + 0xC]
00002150 2F0C move.l -[A7], A4
00002152 A915 syscall ShowWindow
label00002154:
00002154 4240 clr.w D0
00002156 602C bra +0x2E /* 00002184 */
label00002158:
00002158 362B 00EC move.w D3, [A3 + 0xEC]
0000215C 70FF moveq.l D0, 0xFFFFFFFF
0000215E B640 cmp.w D3, D0
00002160 6704 beq +0x6 /* 00002166 */
00002162 3F03 move.w -[A7], D3
00002164 A99A syscall CloseResFile
label00002166:
00002166 362B 00EA move.w D3, [A3 + 0xEA]
0000216A 70FF moveq.l D0, 0xFFFFFFFF
0000216C B640 cmp.w D3, D0
0000216E 670A beq +0xC /* 0000217A */
00002170 554F subq.w A7, 2
00002172 3F03 move.w -[A7], D3
00002174 4EBA 3A86 jsr [PC + 0x3A86 /* 00005BFC */]
00002178 544F addq.w A7, 2
label0000217A:
0000217A 2F0C move.l -[A7], A4
0000217C A92D syscall CloseWindow
label0000217E:
0000217E 204B movea.l A0, A3
00002180 A01F syscall DisposPtr/DisposePtr
label00002182:
00002182 3004 move.w D0, D4
label00002184:
00002184 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002188 4E5E unlink A6
0000218A 4E75 rts
0000218C 0004 0000 ori.b D4, 0x0
00002190 0000 4E56 ori.b D0, 0x56 /* 'V' */
00002194 FFEC .invalid <<F/7/7>>
00002196 48E7 1018 movem.l -[A7], D3,A3,A4
0000219A 266E 000C movea.l A3, [A6 + 0xC]
0000219E 554F subq.w A7, 2
000021A0 2F2E 0010 move.l -[A7], [A6 + 0x10]
000021A4 2F0B move.l -[A7], A3
000021A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021AA 4EBA 37C2 jsr [PC + 0x37C2 /* 0000596E */]
000021AE 101F move.b D0, [A7]+
000021B0 670A beq +0xC /* 000021BC */
000021B2 7001 moveq.l D0, 0x01
000021B4 1D40 0014 move.b [A6 + 0x14], D0
000021B8 4EFA 008A jmp [PC + 0x8A /* 00002244 */]
label000021BC:
000021BC 3013 move.w D0, [A3]
000021BE 7206 moveq.l D1, 0x06
000021C0 B041 cmp.w D0, D1
000021C2 6608 bne +0xA /* 000021CC */
000021C4 2F0B move.l -[A7], A3
000021C6 4EBA 1986 jsr [PC + 0x1986 /* 00003B4E */]
000021CA 584F addq.w A7, 4
label000021CC:
000021CC 3013 move.w D0, [A3]
000021CE 7203 moveq.l D1, 0x03
000021D0 B041 cmp.w D0, D1
000021D2 666A bne +0x6C /* 0000223E */
000021D4 594F subq.w A7, 4
000021D6 3F3C 0081 move.w -[A7], 0x81
000021DA A9BA syscall GetString
000021DC 205F movea.l A0, [A7]+
000021DE 2850 movea.l A4, [A0]
000021E0 202B 0002 move.l D0, [A3 + 0x2]
000021E4 1D40 FFEC move.b [A6 - 0x14], D0
000021E8 220C move.l D1, A4
000021EA 6752 beq +0x54 /* 0000223E */
000021EC 122C 0001 move.b D1, [A4 + 0x1]
000021F0 B200 cmp.b D1, D0
000021F2 6708 beq +0xA /* 000021FC */
000021F4 122C 0002 move.b D1, [A4 + 0x2]
000021F8 B200 cmp.b D1, D0
000021FA 6642 bne +0x44 /* 0000223E */
label000021FC:
000021FC 2F2E 0010 move.l -[A7], [A6 + 0x10]
00002200 7603 moveq.l D3, 0x03
00002202 3F03 move.w -[A7], D3
00002204 486E FFEE pea.l [A6 - 0x12]
00002208 486E FFF8 pea.l [A6 - 0x8]
0000220C 486E FFF0 pea.l [A6 - 0x10]
00002210 A98D syscall GetDialogItem/GetDItem
00002212 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002216 700A moveq.l D0, 0x0A
00002218 3F00 move.w -[A7], D0
0000221A A95D syscall HiliteControl
0000221C 7008 moveq.l D0, 0x08
0000221E 2040 movea.l A0, D0
00002220 43EE FFFC lea.l A1, [A6 - 0x4]
00002224 A03B syscall Delay
00002226 2280 move.l [A1], D0
00002228 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000222C 4267 clr.w -[A7]
0000222E A95D syscall HiliteControl
00002230 206E 0008 movea.l A0, [A6 + 0x8]
00002234 3083 move.w [A0], D3
00002236 7001 moveq.l D0, 0x01
00002238 1D40 0014 move.b [A6 + 0x14], D0
0000223C 6006 bra +0x8 /* 00002244 */
label0000223E:
0000223E 4200 clr.b D0
00002240 1D40 0014 move.b [A6 + 0x14], D0
label00002244:
00002244 4CDF 1808 movem.l D3,A3,A4, [A7]+
00002248 4E5E unlink A6
0000224A 205F movea.l A0, [A7]+
0000224C 4FEF 000C lea.l A7, [A7 + 0xC]
00002250 4ED0 jmp [A0]
fn00002252:
00002252 4E56 FEFC link A6, -0x0104
00002256 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
0000225A 286E 0008 movea.l A4, [A6 + 0x8]
0000225E 4244 clr.w D4
00002260 2F0C move.l -[A7], A4
00002262 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002266 584F addq.w A7, 4
00002268 2640 movea.l A3, D0
0000226A 200B move.l D0, A3
0000226C 6700 00CE beq +0xD0 /* 0000233C */
00002270 4A2B 00F1 tst.b [A3 + 0xF1]
00002274 6700 00C6 beq +0xC8 /* 0000233C */
00002278 2F0C move.l -[A7], A4
0000227A 486E FF00 pea.l [A6 - 0x100]
0000227E A919 syscall GetWTitle
00002280 486D FCA2 pea.l [A5 - 0x35E]
00002284 A851 syscall SetCursor
00002286 486E FF00 pea.l [A6 - 0x100]
0000228A 487A 015E pea.l [PC + 0x15E /* 000023EA, value 0x4E56 'NV', cstring "" */]
0000228E 487A 0158 pea.l [PC + 0x158 /* 000023E8, value 0x0, cstring "" */]
00002292 487A 0152 pea.l [PC + 0x152 /* 000023E6, value 0x0, cstring "" */]
00002296 A98B syscall ParamText
00002298 7602 moveq.l D3, 0x02
0000229A 3D43 FEFC move.w [A6 - 0x104], D3
0000229E 594F subq.w A7, 4
000022A0 3F3C 0081 move.w -[A7], 0x81
000022A4 42A7 clr.l -[A7]
000022A6 70FF moveq.l D0, 0xFFFFFFFF
000022A8 2F00 move.l -[A7], D0
000022AA A97C syscall GetNewDialog
000022AC 245F movea.l A2, [A7]+
000022AE 200A move.l D0, A2
000022B0 674A beq +0x4C /* 000022FC */
000022B2 554F subq.w A7, 2
000022B4 2F0A move.l -[A7], A2
000022B6 7001 moveq.l D0, 0x01
000022B8 3F00 move.w -[A7], D0
000022BA 303C 0304 move.w D0, 0x304
000022BE AA68 syscall DialogDispatch
000022C0 2F0A move.l -[A7], A2
000022C2 3F03 move.w -[A7], D3
000022C4 303C 0305 move.w D0, 0x305
000022C8 AA68 syscall DialogDispatch
000022CA 544F addq.w A7, 2
000022CC 4EAD 021A jsr [A5 + 0x21A /* export_63 */]
label000022D0:
000022D0 486E FEFC pea.l [A6 - 0x104]
000022D4 487A FEBC pea.l [PC - 0x144 /* 00002192, value 0x4E56FFEC */]
000022D8 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
000022DC 504F addq.w A7, 8
000022DE 362E FEFC move.w D3, [A6 - 0x104]
000022E2 7003 moveq.l D0, 0x03
000022E4 B640 cmp.w D3, D0
000022E6 670C beq +0xE /* 000022F4 */
000022E8 7001 moveq.l D0, 0x01
000022EA B640 cmp.w D3, D0
000022EC 6706 beq +0x8 /* 000022F4 */
000022EE 7002 moveq.l D0, 0x02
000022F0 B640 cmp.w D3, D0
000022F2 66DC bne -0x22 /* 000022D0 */
label000022F4:
000022F4 2F0A move.l -[A7], A2
000022F6 A983 syscall DisposeDialog
000022F8 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
label000022FC:
000022FC 302E FEFC move.w D0, [A6 - 0x104]
00002300 48C0 ext.l D0
00002302 7201 moveq.l D1, 0x01
00002304 B081 cmp.l D0, D1
00002306 670E beq +0x10 /* 00002316 */
00002308 7202 moveq.l D1, 0x02
0000230A B081 cmp.l D0, D1
0000230C 6728 beq +0x2A /* 00002336 */
0000230E 7203 moveq.l D1, 0x03
00002310 B081 cmp.l D0, D1
00002312 6728 beq +0x2A /* 0000233C */
00002314 6026 bra +0x28 /* 0000233C */
label00002316:
00002316 42A7 clr.l -[A7]
00002318 42A7 clr.l -[A7]
0000231A 700D moveq.l D0, 0x0D
0000231C 3F00 move.w -[A7], D0
0000231E 2F0C move.l -[A7], A4
00002320 4EBA 0E18 jsr [PC + 0xE18 /* 0000313A */]
00002324 4FEF 000E lea.l A7, [A7 + 0xE]
00002328 3800 move.w D4, D0
0000232A 7065 moveq.l D0, 0x65
0000232C B840 cmp.w D4, D0
0000232E 660C bne +0xE /* 0000233C */
00002330 422D FD96 clr.b [A5 - 0x26A]
00002334 6006 bra +0x8 /* 0000233C */
label00002336:
00002336 7865 moveq.l D4, 0x65
00002338 422D FD96 clr.b [A5 - 0x26A]
label0000233C:
0000233C 4A44 tst.w D4
0000233E 666E bne +0x70 /* 000023AE */
00002340 200B move.l D0, A3
00002342 6714 beq +0x16 /* 00002358 */
00002344 4AAB 00FE tst.l [A3 + 0xFE]
00002348 670E beq +0x10 /* 00002358 */
0000234A 2F0B move.l -[A7], A3
0000234C 2F0C move.l -[A7], A4
0000234E 206B 00FE movea.l A0, [A3 + 0xFE]
00002352 4E90 jsr [A0]
00002354 504F addq.w A7, 8
00002356 3800 move.w D4, D0
label00002358:
00002358 4A44 tst.w D4
0000235A 6652 bne +0x54 /* 000023AE */
0000235C 200B move.l D0, A3
0000235E 674E beq +0x50 /* 000023AE */
00002360 2F0C move.l -[A7], A4
00002362 A92D syscall CloseWindow
00002364 246B 014E movea.l A2, [A3 + 0x14E]
00002368 200A move.l D0, A2
0000236A 671C beq +0x1E /* 00002388 */
0000236C 102D FD8C move.b D0, [A5 - 0x274]
00002370 6710 beq +0x12 /* 00002382 */
00002372 554F subq.w A7, 2
00002374 2F0A move.l -[A7], A2
00002376 203C 0000 0003 move.l D0, 0x3
0000237C ABFE syscall GXPrinting
0000237E 544F addq.w A7, 2
00002380 6006 bra +0x8 /* 00002388 */
label00002382:
00002382 206B 014E movea.l A0, [A3 + 0x14E]
00002386 A023 syscall DisposHandle/DisposeHandle
label00002388:
00002388 362B 00EC move.w D3, [A3 + 0xEC]
0000238C 70FF moveq.l D0, 0xFFFFFFFF
0000238E B640 cmp.w D3, D0
00002390 6704 beq +0x6 /* 00002396 */
00002392 3F03 move.w -[A7], D3
00002394 A99A syscall CloseResFile
label00002396:
00002396 362B 00EA move.w D3, [A3 + 0xEA]
0000239A 70FF moveq.l D0, 0xFFFFFFFF
0000239C B640 cmp.w D3, D0
0000239E 670A beq +0xC /* 000023AA */
000023A0 554F subq.w A7, 2
000023A2 3F03 move.w -[A7], D3
000023A4 4EBA 3856 jsr [PC + 0x3856 /* 00005BFC */]
000023A8 544F addq.w A7, 2
label000023AA:
000023AA 204B movea.l A0, A3
000023AC A01F syscall DisposPtr/DisposePtr
label000023AE:
000023AE 594F subq.w A7, 4
000023B0 A924 syscall FrontWindow
000023B2 201F move.l D0, [A7]+
000023B4 661E bne +0x20 /* 000023D4 */
000023B6 2F2E 000C move.l -[A7], [A6 + 0xC]
000023BA 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000023BE 584F addq.w A7, 4
000023C0 4227 clr.b -[A7]
000023C2 7001 moveq.l D0, 0x01
000023C4 1F00 move.b -[A7], D0
000023C6 42A7 clr.l -[A7]
000023C8 4EBA F6E2 jsr [PC - 0x91E /* 00001AAC */]
000023CC 504F addq.w A7, 8
000023CE 7001 moveq.l D0, 0x01
000023D0 2B40 FD82 move.l [A5 - 0x27E], D0
label000023D4:
000023D4 2F2D FD6A move.l -[A7], [A5 - 0x296]
000023D8 A8DD syscall SetEmptyRgn
000023DA 3004 move.w D0, D4
000023DC 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000023E0 4E5E unlink A6
000023E2 4E75 rts
000023E4 0006 0000 ori.b D6, 0x0
000023E8 0000 0000 ori.b D0, 0x0
fn000023EC:
000023EC 4E56 FF48 link A6, -0x00B8
000023F0 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000023F4 246E 0008 movea.l A2, [A6 + 0x8]
000023F8 2A2E 000C move.l D5, [A6 + 0xC]
000023FC 286E 0010 movea.l A4, [A6 + 0x10]
00002400 266E 0014 movea.l A3, [A6 + 0x14]
00002404 4244 clr.w D4
00002406 200C move.l D0, A4
00002408 6604 bne +0x6 /* 0000240E */
0000240A 49EE FF48 lea.l A4, [A6 - 0xB8]
label0000240E:
0000240E 200B move.l D0, A3
00002410 6604 bne +0x6 /* 00002416 */
00002412 47EE FFE8 lea.l A3, [A6 - 0x18]
label00002416:
00002416 4243 clr.w D3
00002418 3683 move.w [A3], D3
0000241A 2F0B move.l -[A7], A3
0000241C 486E FF98 pea.l [A6 - 0x68]
00002420 2F0C move.l -[A7], A4
00002422 4EBA DD94 jsr [PC - 0x226C /* 000001B8 */]
00002426 4FEF 000C lea.l A7, [A7 + 0xC]
0000242A 2F0B move.l -[A7], A3
0000242C 486E FF98 pea.l [A6 - 0x68]
00002430 2F0C move.l -[A7], A4
00002432 4EBA EF08 jsr [PC - 0x10F8 /* 0000133C */]
00002436 4FEF 000C lea.l A7, [A7 + 0xC]
0000243A 2F0B move.l -[A7], A3
0000243C 486E FF98 pea.l [A6 - 0x68]
00002440 2F0C move.l -[A7], A4
00002442 4EAD 01FA jsr [A5 + 0x1FA /* export_59 */]
00002446 4FEF 000C lea.l A7, [A7 + 0xC]
0000244A 2F0B move.l -[A7], A3
0000244C 486E FF98 pea.l [A6 - 0x68]
00002450 2F0C move.l -[A7], A4
00002452 4EBA E228 jsr [PC - 0x1DD8 /* 0000067C */]
00002456 4FEF 000C lea.l A7, [A7 + 0xC]
0000245A 2F0B move.l -[A7], A3
0000245C 486E FF98 pea.l [A6 - 0x68]
00002460 2F0C move.l -[A7], A4
00002462 4EAD 0362 jsr [A5 + 0x362 /* export_104 */]
00002466 4FEF 000C lea.l A7, [A7 + 0xC]
0000246A 2F0B move.l -[A7], A3
0000246C 486E FF98 pea.l [A6 - 0x68]
00002470 2F0C move.l -[A7], A4
00002472 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
00002476 4FEF 000C lea.l A7, [A7 + 0xC]
0000247A 2F0B move.l -[A7], A3
0000247C 486E FF98 pea.l [A6 - 0x68]
00002480 2F0C move.l -[A7], A4
00002482 4EBA 2F8C jsr [PC + 0x2F8C /* 00005410 */]
00002486 4FEF 000C lea.l A7, [A7 + 0xC]
0000248A 200A move.l D0, A2
0000248C 6700 008C beq +0x8E /* 0000251A */
00002490 2C3C 3F3F 3F3F move.l D6, 0x3F3F3F3F /* '????' */
00002496 3803 move.w D4, D3
00002498 6022 bra +0x24 /* 000024BC */
label0000249A:
0000249A 3604 move.w D3, D4
0000249C 48C3 ext.l D3
0000249E E583 asl D3, 2
000024A0 2D43 FFFC move.l [A6 - 0x4], D3
000024A4 D68C add.l D3, A4
000024A6 2043 movea.l A0, D3
000024A8 2010 move.l D0, [A0]
000024AA B085 cmp.l D0, D5
000024AC 660C bne +0xE /* 000024BA */
000024AE 202E FFFC move.l D0, [A6 - 0x4]
000024B2 41EE FF98 lea.l A0, [A6 - 0x68]
000024B6 2C30 0000 move.l D6, [A0 + D0.w]
label000024BA:
000024BA 5244 addq.w D4, 1
label000024BC:
000024BC 3013 move.w D0, [A3]
000024BE B044 cmp.w D0, D4
000024C0 6ED8 bgt -0x26 /* 0000249A */
000024C2 0C86 3F3F 3F3F cmpi.l D6, 0x3F3F3F3F /* '????' */
000024C8 674C beq +0x4E /* 00002516 */
000024CA 0C85 5445 5854 cmpi.l D5, 0x54455854 /* 'TEXT' */
000024D0 6708 beq +0xA /* 000024DA */
000024D2 0C85 7345 5854 cmpi.l D5, 0x73455854 /* 'sEXT' */
000024D8 6626 bne +0x28 /* 00002500 */
label000024DA:
000024DA 554F subq.w A7, 2
000024DC 2F0A move.l -[A7], A2
000024DE 486E FFEC pea.l [A6 - 0x14]
000024E2 7007 moveq.l D0, 0x07
000024E4 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000024E6 544F addq.w A7, 2
000024E8 302E FFF4 move.w D0, [A6 - 0xC]
000024EC 0240 0800 andi.w D0, 0x800
000024F0 6708 beq +0xA /* 000024FA */
000024F2 2A3C 7345 5854 move.l D5, 0x73455854 /* 'sEXT' */
000024F8 6006 bra +0x8 /* 00002500 */
label000024FA:
000024FA 2A3C 5445 5854 move.l D5, 0x54455854 /* 'TEXT' */
label00002500:
00002500 2F2E 0018 move.l -[A7], [A6 + 0x18]
00002504 2F05 move.l -[A7], D5
00002506 2F0A move.l -[A7], A2
00002508 2F06 move.l -[A7], D6
0000250A 4EBA F7AC jsr [PC - 0x854 /* 00001CB8 */]
0000250E 4FEF 0010 lea.l A7, [A7 + 0x10]
00002512 3800 move.w D4, D0
00002514 6004 bra +0x6 /* 0000251A */
label00002516:
00002516 383C 00C9 move.w D4, 0xC9
label0000251A:
0000251A 3004 move.w D0, D4
0000251C 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00002520 4E5E unlink A6
00002522 4E75 rts
export_11:
00002524 4E56 0000 link A6, 0
00002528 2F0B move.l -[A7], A3
0000252A 266E 0010 movea.l A3, [A6 + 0x10]
0000252E 3013 move.w D0, [A3]
00002530 7206 moveq.l D1, 0x06
00002532 B041 cmp.w D0, D1
00002534 6612 bne +0x14 /* 00002548 */
00002536 202B 0002 move.l D0, [A3 + 0x2]
0000253A B0AE 0014 cmp.l D0, [A6 + 0x14]
0000253E 6708 beq +0xA /* 00002548 */
00002540 2F0B move.l -[A7], A3
00002542 4EBA 160A jsr [PC + 0x160A /* 00003B4E */]
00002546 584F addq.w A7, 4
label00002548:
00002548 554F subq.w A7, 2
0000254A 2F2E 0014 move.l -[A7], [A6 + 0x14]
0000254E 2F0B move.l -[A7], A3
00002550 2F2E 000C move.l -[A7], [A6 + 0xC]
00002554 4EBA 3418 jsr [PC + 0x3418 /* 0000596E */]
00002558 101F move.b D0, [A7]+
0000255A 6708 beq +0xA /* 00002564 */
0000255C 7001 moveq.l D0, 0x01
0000255E 1D40 0018 move.b [A6 + 0x18], D0
00002562 6006 bra +0x8 /* 0000256A */
label00002564:
00002564 4200 clr.b D0
00002566 1D40 0018 move.b [A6 + 0x18], D0
label0000256A:
0000256A 265F movea.l A3, [A7]+
0000256C 4E5E unlink A6
0000256E 205F movea.l A0, [A7]+
00002570 4FEF 0010 lea.l A7, [A7 + 0x10]
00002574 4ED0 jmp [A0]
fn00002576:
00002576 4E56 FF50 link A6, -0x00B0
0000257A 2F04 move.l -[A7], D4
0000257C 4244 clr.w D4
0000257E 202D FC18 move.l D0, [A5 - 0x3E8]
00002582 2D40 FFFC move.l [A6 - 0x4], D0
00002586 42A7 clr.l -[A7]
00002588 486E FF50 pea.l [A6 - 0xB0]
0000258C 486E FF54 pea.l [A6 - 0xAC]
00002590 2F3C 3F3F 3F3F move.l -[A7], 0x3F3F3F3F /* '????' */
00002596 42A7 clr.l -[A7]
00002598 4EBA FE52 jsr [PC - 0x1AE /* 000023EC */]
0000259C 4FEF 0014 lea.l A7, [A7 + 0x14]
000025A0 102D FD88 move.b D0, [A5 - 0x278]
000025A4 6726 beq +0x28 /* 000025CC */
000025A6 42A7 clr.l -[A7]
000025A8 3F2E FF50 move.w -[A7], [A6 - 0xB0]
000025AC 486E FF54 pea.l [A6 - 0xAC]
000025B0 486E FFA4 pea.l [A6 - 0x5C]
000025B4 4267 clr.w -[A7]
000025B6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000025BA 42A7 clr.l -[A7]
000025BC 2F2D FC14 move.l -[A7], [A5 - 0x3EC]
000025C0 42A7 clr.l -[A7]
000025C2 42A7 clr.l -[A7]
000025C4 42A7 clr.l -[A7]
000025C6 7044 moveq.l D0, 0x44
000025C8 AAA3 syscall CodecDispatch
000025CA 6026 bra +0x28 /* 000025F2 */
label000025CC:
000025CC 42A7 clr.l -[A7]
000025CE 3F2E FF50 move.w -[A7], [A6 - 0xB0]
000025D2 486E FF54 pea.l [A6 - 0xAC]
000025D6 486E FFA4 pea.l [A6 - 0x5C]
000025DA 4267 clr.w -[A7]
000025DC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000025E0 42A7 clr.l -[A7]
000025E2 2F2D FC14 move.l -[A7], [A5 - 0x3EC]
000025E6 42A7 clr.l -[A7]
000025E8 42A7 clr.l -[A7]
000025EA 42A7 clr.l -[A7]
000025EC 3F3C 0008 move.w -[A7], 0x8
000025F0 A9EA syscall Pack3
label000025F2:
000025F2 102E FFA4 move.b D0, [A6 - 0x5C]
000025F6 6726 beq +0x28 /* 0000261E */
000025F8 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000025FC 42A7 clr.l -[A7]
000025FE 486E FF50 pea.l [A6 - 0xB0]
00002602 486E FF54 pea.l [A6 - 0xAC]
00002606 2F2E FFA6 move.l -[A7], [A6 - 0x5A]
0000260A 486E FFAA pea.l [A6 - 0x56]
0000260E 4EBA FDDC jsr [PC - 0x224 /* 000023EC */]
00002612 4FEF 0014 lea.l A7, [A7 + 0x14]
00002616 3800 move.w D4, D0
00002618 486D FCA2 pea.l [A5 - 0x35E]
0000261C A851 syscall SetCursor
label0000261E:
0000261E 3004 move.w D0, D4
00002620 281F move.l D4, [A7]+
00002622 4E5E unlink A6
00002624 4E75 rts
fn00002626:
00002626 4E56 FFFC link A6, -0x0004
0000262A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
0000262E 266E 0008 movea.l A3, [A6 + 0x8]
00002632 4243 clr.w D3
00002634 2F0B move.l -[A7], A3
00002636 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
0000263A 584F addq.w A7, 4
0000263C 2840 movea.l A4, D0
0000263E 200C move.l D0, A4
00002640 672A beq +0x2C /* 0000266C */
00002642 486E FFFC pea.l [A6 - 0x4]
00002646 A874 syscall GetPort
00002648 2F0B move.l -[A7], A3
0000264A A873 syscall SetPort
0000264C 2F0B move.l -[A7], A3
0000264E A922 syscall BeginUpdate
00002650 246C 012A movea.l A2, [A4 + 0x12A]
00002654 200A move.l D0, A2
00002656 670A beq +0xC /* 00002662 */
00002658 2F0C move.l -[A7], A4
0000265A 2F0B move.l -[A7], A3
0000265C 4E92 jsr [A2]
0000265E 504F addq.w A7, 8
00002660 3600 move.w D3, D0
label00002662:
00002662 2F0B move.l -[A7], A3
00002664 A923 syscall EndUpdate
00002666 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000266A A873 syscall SetPort
label0000266C:
0000266C 3003 move.w D0, D3
0000266E 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002672 4E5E unlink A6
00002674 4E75 rts
export_12:
fn00002676:
00002676 4E56 0000 link A6, 0
0000267A 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
0000267E 286E 0008 movea.l A4, [A6 + 0x8]
00002682 246E 000C movea.l A2, [A6 + 0xC]
00002686 382E 0010 move.w D4, [A6 + 0x10]
0000268A 3A2E 0012 move.w D5, [A6 + 0x12]
0000268E 4243 clr.w D3
00002690 3004 move.w D0, D4
00002692 8045 or.w D0, D5
00002694 675C beq +0x5E /* 000026F2 */
00002696 554F subq.w A7, 2
00002698 303C 0007 move.w D0, 0x7
0000269C A830 syscall Pack14
0000269E 101F move.b D0, [A7]+
000026A0 6708 beq +0xA /* 000026AA */
000026A2 2F0C move.l -[A7], A4
000026A4 4EBA FF80 jsr [PC - 0x80 /* 00002626 */]
000026A8 584F addq.w A7, 4
label000026AA:
000026AA 200A move.l D0, A2
000026AC 671A beq +0x1C /* 000026C8 */
000026AE 4AAA 0106 tst.l [A2 + 0x106]
000026B2 6714 beq +0x16 /* 000026C8 */
000026B4 3F05 move.w -[A7], D5
000026B6 3F04 move.w -[A7], D4
000026B8 2F0A move.l -[A7], A2
000026BA 2F0C move.l -[A7], A4
000026BC 206A 0106 movea.l A0, [A2 + 0x106]
000026C0 4E90 jsr [A0]
000026C2 4FEF 000C lea.l A7, [A7 + 0xC]
000026C6 3600 move.w D3, D0
label000026C8:
000026C8 4A43 tst.w D3
000026CA 6626 bne +0x28 /* 000026F2 */
000026CC 594F subq.w A7, 4
000026CE A8D8 syscall NewRgn
000026D0 265F movea.l A3, [A7]+
000026D2 204A movea.l A0, A2
000026D4 41E8 0154 lea.l A0, [A0 + 0x154]
000026D8 2F08 move.l -[A7], A0
000026DA 3F04 move.w -[A7], D4
000026DC 3F05 move.w -[A7], D5
000026DE 2F0B move.l -[A7], A3
000026E0 A8EF syscall ScrollRect
000026E2 2F0B move.l -[A7], A3
000026E4 A927 syscall InvalRgn
000026E6 2F0B move.l -[A7], A3
000026E8 A8D9 syscall DisposRgn/DisposeRgn
000026EA 2F0C move.l -[A7], A4
000026EC 4EBA FF38 jsr [PC - 0xC8 /* 00002626 */]
000026F0 584F addq.w A7, 4
label000026F2:
000026F2 3003 move.w D0, D3
000026F4 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000026F8 4E5E unlink A6
000026FA 4E75 rts
export_13:
fn000026FC:
000026FC 4E56 0000 link A6, 0
00002700 48E7 1C18 movem.l -[A7], D3,D4,D5,A3,A4
00002704 286E 0008 movea.l A4, [A6 + 0x8]
00002708 266E 000C movea.l A3, [A6 + 0xC]
0000270C 554F subq.w A7, 2
0000270E 2F0C move.l -[A7], A4
00002710 A960 syscall GetControlValue/GetCtlValue
00002712 381F move.w D4, [A7]+
00002714 554F subq.w A7, 2
00002716 2F0C move.l -[A7], A4
00002718 A962 syscall GetControlMaximum/GetMaxCtl
0000271A 3A1F move.w D5, [A7]+
0000271C 3004 move.w D0, D4
0000271E 9053 sub.w D0, [A3]
00002720 3680 move.w [A3], D0
00002722 4243 clr.w D3
00002724 B043 cmp.w D0, D3
00002726 6A04 bpl +0x6 /* 0000272C */
00002728 3683 move.w [A3], D3
0000272A 6008 bra +0xA /* 00002734 */
label0000272C:
0000272C 3013 move.w D0, [A3]
0000272E B045 cmp.w D0, D5
00002730 6F02 ble +0x4 /* 00002734 */
00002732 3685 move.w [A3], D5
label00002734:
00002734 2F0C move.l -[A7], A4
00002736 3F13 move.w -[A7], [A3]
00002738 A963 syscall SetControlValue/SetCtlValue
0000273A 3004 move.w D0, D4
0000273C 9053 sub.w D0, [A3]
0000273E 3680 move.w [A3], D0
00002740 4CDF 1838 movem.l D3,D4,D5,A3,A4, [A7]+
00002744 4E5E unlink A6
00002746 4E75 rts
export_14:
fn00002748:
00002748 4E56 FFFC link A6, -0x0004
0000274C 48E7 1018 movem.l -[A7], D3,A3,A4
00002750 302E 0008 move.w D0, [A6 + 0x8]
00002754 6700 00E0 beq +0xE2 /* 00002836 */
00002758 206E 000A movea.l A0, [A6 + 0xA]
0000275C 2050 movea.l A0, [A0]
0000275E 2868 0004 movea.l A4, [A0 + 0x4]
00002762 2F0C move.l -[A7], A4
00002764 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002768 584F addq.w A7, 4
0000276A 2640 movea.l A3, D0
0000276C 4240 clr.w D0
0000276E 3D40 FFFC move.w [A6 - 0x4], D0
00002772 302E 0008 move.w D0, [A6 + 0x8]
00002776 3200 move.w D1, D0
00002778 48C1 ext.l D1
0000277A 7014 moveq.l D0, 0x14
0000277C B280 cmp.l D1, D0
0000277E 6714 beq +0x16 /* 00002794 */
00002780 7015 moveq.l D0, 0x15
00002782 B280 cmp.l D1, D0
00002784 6718 beq +0x1A /* 0000279E */
00002786 7016 moveq.l D0, 0x16
00002788 B280 cmp.l D1, D0
0000278A 671E beq +0x20 /* 000027AA */
0000278C 7017 moveq.l D0, 0x17
0000278E B280 cmp.l D1, D0
00002790 674C beq +0x4E /* 000027DE */
00002792 607C bra +0x7E /* 00002810 */
label00002794:
00002794 302B 016A move.w D0, [A3 + 0x16A]
00002798 3D40 FFFC move.w [A6 - 0x4], D0
0000279C 6072 bra +0x74 /* 00002810 */
label0000279E:
0000279E 302B 016A move.w D0, [A3 + 0x16A]
000027A2 4440 neg.w D0
000027A4 3D40 FFFC move.w [A6 - 0x4], D0
000027A8 6066 bra +0x68 /* 00002810 */
label000027AA:
000027AA 302B 0158 move.w D0, [A3 + 0x158]
000027AE 48C0 ext.l D0
000027B0 322B 0154 move.w D1, [A3 + 0x154]
000027B4 48C1 ext.l D1
000027B6 9081 sub.l D0, D1
000027B8 362B 016A move.w D3, [A3 + 0x16A]
000027BC 3203 move.w D1, D3
000027BE 48C1 ext.l D1
000027C0 4C41 0800 movem.l A3, D1
000027C4 5340 subq.w D0, 1
000027C6 C1C3 muls.w D0, D3
000027C8 3D40 FFFC move.w [A6 - 0x4], D0
000027CC 4A40 tst.w D0
000027CE 6640 bne +0x42 /* 00002810 */
000027D0 302B 0158 move.w D0, [A3 + 0x158]
000027D4 906B 0154 sub.w D0, [A3 + 0x154]
000027D8 3D40 FFFC move.w [A6 - 0x4], D0
000027DC 6032 bra +0x34 /* 00002810 */
label000027DE:
000027DE 302B 0154 move.w D0, [A3 + 0x154]
000027E2 48C0 ext.l D0
000027E4 322B 0158 move.w D1, [A3 + 0x158]
000027E8 48C1 ext.l D1
000027EA 9081 sub.l D0, D1
000027EC 362B 016A move.w D3, [A3 + 0x16A]
000027F0 3203 move.w D1, D3
000027F2 48C1 ext.l D1
000027F4 4C41 0800 movem.l A3, D1
000027F8 5240 addq.w D0, 1
000027FA C1C3 muls.w D0, D3
000027FC 3D40 FFFC move.w [A6 - 0x4], D0
00002800 4A40 tst.w D0
00002802 660C bne +0xE /* 00002810 */
00002804 302B 0154 move.w D0, [A3 + 0x154]
00002808 906B 0158 sub.w D0, [A3 + 0x158]
0000280C 3D40 FFFC move.w [A6 - 0x4], D0
label00002810:
00002810 486E FFFC pea.l [A6 - 0x4]
00002814 2F2E 000A move.l -[A7], [A6 + 0xA]
00002818 4EBA FEE2 jsr [PC - 0x11E /* 000026FC */]
0000281C 504F addq.w A7, 8
0000281E 302E FFFC move.w D0, [A6 - 0x4]
00002822 6712 beq +0x14 /* 00002836 */
00002824 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002828 4267 clr.w -[A7]
0000282A 2F0B move.l -[A7], A3
0000282C 2F0C move.l -[A7], A4
0000282E 4EBA FE46 jsr [PC - 0x1BA /* 00002676 */]
00002832 4FEF 000C lea.l A7, [A7 + 0xC]
label00002836:
00002836 4CDF 1808 movem.l D3,A3,A4, [A7]+
0000283A 4E5E unlink A6
0000283C 205F movea.l A0, [A7]+
0000283E 5C4F addq.w A7, 6
00002840 4ED0 jmp [A0]
export_15:
fn00002842:
00002842 4E56 FFFC link A6, -0x0004
00002846 48E7 0018 movem.l -[A7], A3,A4
0000284A 302E 0008 move.w D0, [A6 + 0x8]
0000284E 6700 0094 beq +0x96 /* 000028E4 */
00002852 206E 000A movea.l A0, [A6 + 0xA]
00002856 2050 movea.l A0, [A0]
00002858 2868 0004 movea.l A4, [A0 + 0x4]
0000285C 2F0C move.l -[A7], A4
0000285E 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002862 584F addq.w A7, 4
00002864 2640 movea.l A3, D0
00002866 4240 clr.w D0
00002868 3D40 FFFC move.w [A6 - 0x4], D0
0000286C 302E 0008 move.w D0, [A6 + 0x8]
00002870 3200 move.w D1, D0
00002872 48C1 ext.l D1
00002874 7014 moveq.l D0, 0x14
00002876 B280 cmp.l D1, D0
00002878 6714 beq +0x16 /* 0000288E */
0000287A 7015 moveq.l D0, 0x15
0000287C B280 cmp.l D1, D0
0000287E 6718 beq +0x1A /* 00002898 */
00002880 7016 moveq.l D0, 0x16
00002882 B280 cmp.l D1, D0
00002884 671E beq +0x20 /* 000028A4 */
00002886 7017 moveq.l D0, 0x17
00002888 B280 cmp.l D1, D0
0000288A 6726 beq +0x28 /* 000028B2 */
0000288C 6030 bra +0x32 /* 000028BE */
label0000288E:
0000288E 302B 0168 move.w D0, [A3 + 0x168]
00002892 3D40 FFFC move.w [A6 - 0x4], D0
00002896 6026 bra +0x28 /* 000028BE */
label00002898:
00002898 302B 0168 move.w D0, [A3 + 0x168]
0000289C 4440 neg.w D0
0000289E 3D40 FFFC move.w [A6 - 0x4], D0
000028A2 601A bra +0x1C /* 000028BE */
label000028A4:
000028A4 302B 015A move.w D0, [A3 + 0x15A]
000028A8 906B 0156 sub.w D0, [A3 + 0x156]
000028AC 3D40 FFFC move.w [A6 - 0x4], D0
000028B0 600C bra +0xE /* 000028BE */
label000028B2:
000028B2 302B 0156 move.w D0, [A3 + 0x156]
000028B6 906B 015A sub.w D0, [A3 + 0x15A]
000028BA 3D40 FFFC move.w [A6 - 0x4], D0
label000028BE:
000028BE 486E FFFC pea.l [A6 - 0x4]
000028C2 2F2E 000A move.l -[A7], [A6 + 0xA]
000028C6 4EBA FE34 jsr [PC - 0x1CC /* 000026FC */]
000028CA 504F addq.w A7, 8
000028CC 302E FFFC move.w D0, [A6 - 0x4]
000028D0 6712 beq +0x14 /* 000028E4 */
000028D2 4267 clr.w -[A7]
000028D4 3F2E FFFC move.w -[A7], [A6 - 0x4]
000028D8 2F0B move.l -[A7], A3
000028DA 2F0C move.l -[A7], A4
000028DC 4EBA FD98 jsr [PC - 0x268 /* 00002676 */]
000028E0 4FEF 000C lea.l A7, [A7 + 0xC]
label000028E4:
000028E4 4CDF 1800 movem.l A3,A4, [A7]+
000028E8 4E5E unlink A6
000028EA 205F movea.l A0, [A7]+
000028EC 5C4F addq.w A7, 6
000028EE 4ED0 jmp [A0]
fn000028F0:
000028F0 4E56 FFFC link A6, -0x0004
000028F4 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
000028F8 286E 0008 movea.l A4, [A6 + 0x8]
000028FC 4243 clr.w D3
000028FE 2F0C move.l -[A7], A4
00002900 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002904 584F addq.w A7, 4
00002906 2640 movea.l A3, D0
00002908 200B move.l D0, A3
0000290A 6700 00F6 beq +0xF8 /* 00002A02 */
0000290E 2F0C move.l -[A7], A4
00002910 A873 syscall SetPort
00002912 246B 013A movea.l A2, [A3 + 0x13A]
00002916 200A move.l D0, A2
00002918 6718 beq +0x1A /* 00002932 */
0000291A 486D FD98 pea.l [A5 - 0x268]
0000291E 2F0B move.l -[A7], A3
00002920 2F0C move.l -[A7], A4
00002922 4E92 jsr [A2]
00002924 4FEF 000C lea.l A7, [A7 + 0xC]
00002928 3600 move.w D3, D0
0000292A 6706 beq +0x8 /* 00002932 */
0000292C 2F2D FD6A move.l -[A7], [A5 - 0x296]
00002930 A8DD syscall SetEmptyRgn
label00002932:
00002932 4A43 tst.w D3
00002934 6600 00CC bne +0xCE /* 00002A02 */
00002938 486D FDA2 pea.l [A5 - 0x25E]
0000293C A871 syscall GlobalToLocal
0000293E 554F subq.w A7, 2
00002940 2F2D FDA2 move.l -[A7], [A5 - 0x25E]
00002944 2F0C move.l -[A7], A4
00002946 486E FFFC pea.l [A6 - 0x4]
0000294A A96C syscall FindControl
0000294C 3A1F move.w D5, [A7]+
0000294E 3005 move.w D0, D5
00002950 3200 move.w D1, D0
00002952 48C1 ext.l D1
00002954 6700 00AC beq +0xAE /* 00002A02 */
00002958 0C81 0000 0081 cmpi.l D1, 0x81
0000295E 6702 beq +0x4 /* 00002962 */
00002960 6062 bra +0x64 /* 000029C4 */
label00002962:
00002962 554F subq.w A7, 2
00002964 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002968 A960 syscall GetControlValue/GetCtlValue
0000296A 381F move.w D4, [A7]+
0000296C 554F subq.w A7, 2
0000296E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002972 2F2D FDA2 move.l -[A7], [A5 - 0x25E]
00002976 42A7 clr.l -[A7]
00002978 A968 syscall TrackControl
0000297A 3A1F move.w D5, [A7]+
0000297C 6700 0084 beq +0x86 /* 00002A02 */
00002980 554F subq.w A7, 2
00002982 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002986 A960 syscall GetControlValue/GetCtlValue
00002988 301F move.w D0, [A7]+
0000298A 9840 sub.w D4, D0
0000298C 6774 beq +0x76 /* 00002A02 */
0000298E 206B 0160 movea.l A0, [A3 + 0x160]
00002992 B1EE FFFC cmpa.l A0, [A6 - 0x4]
00002996 6610 bne +0x12 /* 000029A8 */
00002998 4267 clr.w -[A7]
0000299A 3F04 move.w -[A7], D4
0000299C 2F0B move.l -[A7], A3
0000299E 2F0C move.l -[A7], A4
000029A0 4EBA FCD4 jsr [PC - 0x32C /* 00002676 */]
000029A4 4FEF 000C lea.l A7, [A7 + 0xC]
label000029A8:
000029A8 206B 0164 movea.l A0, [A3 + 0x164]
000029AC B1EE FFFC cmpa.l A0, [A6 - 0x4]
000029B0 6650 bne +0x52 /* 00002A02 */
000029B2 3F04 move.w -[A7], D4
000029B4 4267 clr.w -[A7]
000029B6 2F0B move.l -[A7], A3
000029B8 2F0C move.l -[A7], A4
000029BA 4EBA FCBA jsr [PC - 0x346 /* 00002676 */]
000029BE 4FEF 000C lea.l A7, [A7 + 0xC]
000029C2 603E bra +0x40 /* 00002A02 */
label000029C4:
000029C4 202E FFFC move.l D0, [A6 - 0x4]
000029C8 6738 beq +0x3A /* 00002A02 */
000029CA 206B 0160 movea.l A0, [A3 + 0x160]
000029CE B1EE FFFC cmpa.l A0, [A6 - 0x4]
000029D2 6612 bne +0x14 /* 000029E6 */
000029D4 554F subq.w A7, 2
000029D6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000029DA 2F2D FDA2 move.l -[A7], [A5 - 0x25E]
000029DE 2F2D FC20 move.l -[A7], [A5 - 0x3E0]
000029E2 A968 syscall TrackControl
000029E4 544F addq.w A7, 2
label000029E6:
000029E6 206B 0164 movea.l A0, [A3 + 0x164]
000029EA 246E FFFC movea.l A2, [A6 - 0x4]
000029EE B1CA cmpa.l A0, A2
000029F0 6610 bne +0x12 /* 00002A02 */
000029F2 554F subq.w A7, 2
000029F4 2F0A move.l -[A7], A2
000029F6 2F2D FDA2 move.l -[A7], [A5 - 0x25E]
000029FA 2F2D FC1C move.l -[A7], [A5 - 0x3E4]
000029FE A968 syscall TrackControl
00002A00 544F addq.w A7, 2
label00002A02:
00002A02 3003 move.w D0, D3
00002A04 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002A08 4E5E unlink A6
00002A0A 4E75 rts
fn00002A0C:
00002A0C 4E56 FFD4 link A6, -0x002C
00002A10 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002A14 286E 0008 movea.l A4, [A6 + 0x8]
00002A18 2F0C move.l -[A7], A4
00002A1A 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002A1E 584F addq.w A7, 4
00002A20 2640 movea.l A3, D0
00002A22 200B move.l D0, A3
00002A24 6700 01D8 beq +0x1DA /* 00002BFE */
00002A28 2F0C move.l -[A7], A4
00002A2A A873 syscall SetPort
00002A2C 486E FFDC pea.l [A6 - 0x24]
00002A30 204B movea.l A0, A3
00002A32 41E8 0154 lea.l A0, [A0 + 0x154]
00002A36 2F08 move.l -[A7], A0
00002A38 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
00002A3C 504F addq.w A7, 8
00002A3E 246B 0102 movea.l A2, [A3 + 0x102]
00002A42 200A move.l D0, A2
00002A44 6712 beq +0x14 /* 00002A58 */
00002A46 7001 moveq.l D0, 0x01
00002A48 1F00 move.b -[A7], D0
00002A4A 486E FFDC pea.l [A6 - 0x24]
00002A4E 2F0B move.l -[A7], A3
00002A50 2F0C move.l -[A7], A4
00002A52 4E92 jsr [A2]
00002A54 4FEF 000E lea.l A7, [A7 + 0xE]
label00002A58:
00002A58 4AAB 0164 tst.l [A3 + 0x164]
00002A5C 6708 beq +0xA /* 00002A66 */
00002A5E 06AE 0000 0010 FFE8 addi.l [A6 - 0x18], 0x10
label00002A66:
00002A66 4AAB 0160 tst.l [A3 + 0x160]
00002A6A 6708 beq +0xA /* 00002A74 */
00002A6C 06AE 0000 0010 FFE4 addi.l [A6 - 0x1C], 0x10
label00002A74:
00002A74 4A2B 0152 tst.b [A3 + 0x152]
00002A78 6716 beq +0x18 /* 00002A90 */
00002A7A 4AAB 0160 tst.l [A3 + 0x160]
00002A7E 6610 bne +0x12 /* 00002A90 */
00002A80 4AAB 0164 tst.l [A3 + 0x164]
00002A84 660A bne +0xC /* 00002A90 */
00002A86 7610 moveq.l D3, 0x10
00002A88 D7AE FFE8 add.l [A6 - 0x18], D3
00002A8C D7AE FFE4 add.l [A6 - 0x1C], D3
label00002A90:
00002A90 302B 015C move.w D0, [A3 + 0x15C]
00002A94 3D40 FFD6 move.w [A6 - 0x2A], D0
00002A98 4A40 tst.w D0
00002A9A 6606 bne +0x8 /* 00002AA2 */
00002A9C 3D7C 0080 FFD6 move.w [A6 - 0x2A], 0x80
label00002AA2:
00002AA2 302E FFEA move.w D0, [A6 - 0x16]
00002AA6 906E FFE2 sub.w D0, [A6 - 0x1E]
00002AAA 3D40 FFDA move.w [A6 - 0x26], D0
00002AAE 362E FFD6 move.w D3, [A6 - 0x2A]
00002AB2 B043 cmp.w D0, D3
00002AB4 6C04 bge +0x6 /* 00002ABA */
00002AB6 3D43 FFDA move.w [A6 - 0x26], D3
label00002ABA:
00002ABA 302B 015E move.w D0, [A3 + 0x15E]
00002ABE 3D40 FFD4 move.w [A6 - 0x2C], D0
00002AC2 4A40 tst.w D0
00002AC4 6606 bne +0x8 /* 00002ACC */
00002AC6 3D7C 0080 FFD4 move.w [A6 - 0x2C], 0x80
label00002ACC:
00002ACC 302E FFE6 move.w D0, [A6 - 0x1A]
00002AD0 906E FFDE sub.w D0, [A6 - 0x22]
00002AD4 3D40 FFD8 move.w [A6 - 0x28], D0
00002AD8 362E FFD4 move.w D3, [A6 - 0x2C]
00002ADC B043 cmp.w D0, D3
00002ADE 6C04 bge +0x6 /* 00002AE4 */
00002AE0 3D43 FFD8 move.w [A6 - 0x28], D3
label00002AE4:
00002AE4 594F subq.w A7, 4
00002AE6 2F0C move.l -[A7], A4
00002AE8 206E 000C movea.l A0, [A6 + 0xC]
00002AEC 2F28 000A move.l -[A7], [A0 + 0xA]
00002AF0 486E FFD4 pea.l [A6 - 0x2C]
00002AF4 A92B syscall GrowWindow
00002AF6 201F move.l D0, [A7]+
00002AF8 2D40 FFEC move.l [A6 - 0x14], D0
00002AFC 4A80 tst.l D0
00002AFE 6700 00FE beq +0x100 /* 00002BFE */
00002B02 594F subq.w A7, 4
00002B04 A8D8 syscall NewRgn
00002B06 201F move.l D0, [A7]+
00002B08 2D40 FFF8 move.l [A6 - 0x8], D0
00002B0C 204B movea.l A0, A3
00002B0E 41E8 0154 lea.l A0, [A0 + 0x154]
00002B12 43EE FFF0 lea.l A1, [A6 - 0x10]
00002B16 22D8 move.l [A1]+, [A0]+
00002B18 22D8 move.l [A1]+, [A0]+
00002B1A 2F2C 007A move.l -[A7], [A4 + 0x7A]
00002B1E 2F00 move.l -[A7], D0
00002B20 A8DC syscall CopyRgn
00002B22 554F subq.w A7, 2
00002B24 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002B28 A8E2 syscall EmptyRgn
00002B2A 101F move.b D0, [A7]+
00002B2C 660A bne +0xC /* 00002B38 */
00002B2E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002B32 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
00002B36 584F addq.w A7, 4
label00002B38:
00002B38 2F0C move.l -[A7], A4
00002B3A 3F2E FFEE move.w -[A7], [A6 - 0x12]
00002B3E 202E FFEC move.l D0, [A6 - 0x14]
00002B42 7210 moveq.l D1, 0x10
00002B44 E2A0 asr D0, D1
00002B46 3F00 move.w -[A7], D0
00002B48 7601 moveq.l D3, 0x01
00002B4A 1F03 move.b -[A7], D3
00002B4C A91D syscall SizeWindow
00002B4E 486E FFFC pea.l [A6 - 0x4]
00002B52 1F03 move.b -[A7], D3
00002B54 1F03 move.b -[A7], D3
00002B56 2F0C move.l -[A7], A4
00002B58 4EBA E8AA jsr [PC - 0x1756 /* 00001404 */]
00002B5C 4FEF 000C lea.l A7, [A7 + 0xC]
00002B60 244B movea.l A2, A3
00002B62 45EA 0154 lea.l A2, [A2 + 0x154]
00002B66 102E FFFC move.b D0, [A6 - 0x4]
00002B6A 6706 beq +0x8 /* 00002B72 */
00002B6C 2F0A move.l -[A7], A2
00002B6E A928 syscall InvalRect
00002B70 6022 bra +0x24 /* 00002B94 */
label00002B72:
00002B72 554F subq.w A7, 2
00002B74 486E FFF0 pea.l [A6 - 0x10]
00002B78 204B movea.l A0, A3
00002B7A 41E8 0154 lea.l A0, [A0 + 0x154]
00002B7E 2F08 move.l -[A7], A0
00002B80 486E FFF0 pea.l [A6 - 0x10]
00002B84 A8AA syscall SectRect
00002B86 544F addq.w A7, 2
00002B88 486E FFF0 pea.l [A6 - 0x10]
00002B8C A92A syscall ValidRect
00002B8E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002B92 A927 syscall InvalRgn
label00002B94:
00002B94 4A6B 016C tst.w [A3 + 0x16C]
00002B98 672C beq +0x2E /* 00002BC6 */
00002B9A 204C movea.l A0, A4
00002B9C 7010 moveq.l D0, 0x10
00002B9E D1C0 add.l A0, D0
00002BA0 43EE FFF0 lea.l A1, [A6 - 0x10]
00002BA4 22D8 move.l [A1]+, [A0]+
00002BA6 22D8 move.l [A1]+, [A0]+
00002BA8 302B 016C move.w D0, [A3 + 0x16C]
00002BAC D06E FFF2 add.w D0, [A6 - 0xE]
00002BB0 3D40 FFF6 move.w [A6 - 0xA], D0
00002BB4 302E FFF4 move.w D0, [A6 - 0xC]
00002BB8 72F1 moveq.l D1, 0xFFFFFFF1
00002BBA D041 add.w D0, D1
00002BBC 3D40 FFF0 move.w [A6 - 0x10], D0
00002BC0 486E FFF0 pea.l [A6 - 0x10]
00002BC4 A928 syscall InvalRect
label00002BC6:
00002BC6 4A6B 016E tst.w [A3 + 0x16E]
00002BCA 672C beq +0x2E /* 00002BF8 */
00002BCC 204C movea.l A0, A4
00002BCE 7010 moveq.l D0, 0x10
00002BD0 D1C0 add.l A0, D0
00002BD2 43EE FFF0 lea.l A1, [A6 - 0x10]
00002BD6 22D8 move.l [A1]+, [A0]+
00002BD8 22D8 move.l [A1]+, [A0]+
00002BDA 302B 016E move.w D0, [A3 + 0x16E]
00002BDE D06E FFF0 add.w D0, [A6 - 0x10]
00002BE2 3D40 FFF4 move.w [A6 - 0xC], D0
00002BE6 302E FFF6 move.w D0, [A6 - 0xA]
00002BEA 72F1 moveq.l D1, 0xFFFFFFF1
00002BEC D041 add.w D0, D1
00002BEE 3D40 FFF2 move.w [A6 - 0xE], D0
00002BF2 486E FFF0 pea.l [A6 - 0x10]
00002BF6 A928 syscall InvalRect
label00002BF8:
00002BF8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002BFC A8D9 syscall DisposRgn/DisposeRgn
label00002BFE:
00002BFE 4240 clr.w D0
00002C00 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002C04 4E5E unlink A6
00002C06 4E75 rts
fn00002C08:
00002C08 4E56 FFD0 link A6, -0x0030
00002C0C 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002C10 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C14 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002C18 584F addq.w A7, 4
00002C1A 2640 movea.l A3, D0
00002C1C 486E FFF0 pea.l [A6 - 0x10]
00002C20 204B movea.l A0, A3
00002C22 41E8 0154 lea.l A0, [A0 + 0x154]
00002C26 2F08 move.l -[A7], A0
00002C28 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
00002C2C 504F addq.w A7, 8
00002C2E 246B 0102 movea.l A2, [A3 + 0x102]
00002C32 200A move.l D0, A2
00002C34 6714 beq +0x16 /* 00002C4A */
00002C36 7001 moveq.l D0, 0x01
00002C38 1F00 move.b -[A7], D0
00002C3A 486E FFF0 pea.l [A6 - 0x10]
00002C3E 2F0B move.l -[A7], A3
00002C40 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C44 4E92 jsr [A2]
00002C46 4FEF 000E lea.l A7, [A7 + 0xE]
label00002C4A:
00002C4A 4AAB 0164 tst.l [A3 + 0x164]
00002C4E 6708 beq +0xA /* 00002C58 */
00002C50 06AE 0000 000F FFFC addi.l [A6 - 0x4], 0xF
label00002C58:
00002C58 4AAB 0160 tst.l [A3 + 0x160]
00002C5C 6708 beq +0xA /* 00002C66 */
00002C5E 06AE 0000 000F FFF8 addi.l [A6 - 0x8], 0xF
label00002C66:
00002C66 4A2B 0152 tst.b [A3 + 0x152]
00002C6A 6716 beq +0x18 /* 00002C82 */
00002C6C 4AAB 0160 tst.l [A3 + 0x160]
00002C70 6610 bne +0x12 /* 00002C82 */
00002C72 4AAB 0164 tst.l [A3 + 0x164]
00002C76 660A bne +0xC /* 00002C82 */
00002C78 760F moveq.l D3, 0x0F
00002C7A D7AE FFFC add.l [A6 - 0x4], D3
00002C7E D7AE FFF8 add.l [A6 - 0x8], D3
label00002C82:
00002C82 3C2E FFFE move.w D6, [A6 - 0x2]
00002C86 9C6E FFF6 sub.w D6, [A6 - 0xA]
00002C8A 3E2E FFFA move.w D7, [A6 - 0x6]
00002C8E 9E6E FFF2 sub.w D7, [A6 - 0xE]
00002C92 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C96 A873 syscall SetPort
00002C98 246E 0008 movea.l A2, [A6 + 0x8]
00002C9C 7010 moveq.l D0, 0x10
00002C9E D5C0 add.l A2, D0
00002CA0 2F0A move.l -[A7], A2
00002CA2 A8A3 syscall EraseRect
00002CA4 0C6E 0008 000C cmpi.w [A6 + 0xC], 0x8
00002CAA 6600 0254 bne +0x256 /* 00002F00 */
00002CAE 594F subq.w A7, 4
00002CB0 A8D8 syscall NewRgn
00002CB2 245F movea.l A2, [A7]+
00002CB4 206E 0008 movea.l A0, [A6 + 0x8]
00002CB8 2F28 0072 move.l -[A7], [A0 + 0x72]
00002CBC 2F0A move.l -[A7], A2
00002CBE A8DC syscall CopyRgn
00002CC0 2052 movea.l A0, [A2]
00002CC2 5448 addq.w A0, 2
00002CC4 2D48 FFD0 move.l [A6 - 0x30], A0
00002CC8 2F0A move.l -[A7], A2
00002CCA A8D9 syscall DisposRgn/DisposeRgn
00002CCC 7000 moveq.l D0, 0x00
00002CCE 2640 movea.l A3, D0
00002CD0 102D FD79 move.b D0, [A5 - 0x287]
00002CD4 6770 beq +0x72 /* 00002D46 */
00002CD6 594F subq.w A7, 4
00002CD8 AA29 syscall GetDeviceList
00002CDA 245F movea.l A2, [A7]+
00002CDC 7800 moveq.l D4, 0x00
00002CDE 6062 bra +0x64 /* 00002D42 */
label00002CE0:
00002CE0 554F subq.w A7, 2
00002CE2 2F0A move.l -[A7], A2
00002CE4 700D moveq.l D0, 0x0D
00002CE6 3F00 move.w -[A7], D0
00002CE8 AA2C syscall TestDeviceAttribute
00002CEA 101F move.b D0, [A7]+
00002CEC 674C beq +0x4E /* 00002D3A */
00002CEE 554F subq.w A7, 2
00002CF0 2F0A move.l -[A7], A2
00002CF2 700F moveq.l D0, 0x0F
00002CF4 3F00 move.w -[A7], D0
00002CF6 AA2C syscall TestDeviceAttribute
00002CF8 101F move.b D0, [A7]+
00002CFA 673E beq +0x40 /* 00002D3A */
00002CFC 554F subq.w A7, 2
00002CFE 2F2E FFD0 move.l -[A7], [A6 - 0x30]
00002D02 2052 movea.l A0, [A2]
00002D04 7022 moveq.l D0, 0x22
00002D06 D1C0 add.l A0, D0
00002D08 2F08 move.l -[A7], A0
00002D0A 486E FFE0 pea.l [A6 - 0x20]
00002D0E A8AA syscall SectRect
00002D10 544F addq.w A7, 2
00002D12 362E FFE6 move.w D3, [A6 - 0x1A]
00002D16 48C3 ext.l D3
00002D18 302E FFE2 move.w D0, [A6 - 0x1E]
00002D1C 48C0 ext.l D0
00002D1E 9680 sub.l D3, D0
00002D20 302E FFE4 move.w D0, [A6 - 0x1C]
00002D24 48C0 ext.l D0
00002D26 322E FFE0 move.w D1, [A6 - 0x20]
00002D2A 48C1 ext.l D1
00002D2C 9081 sub.l D0, D1
00002D2E 4C00 3803 movem.w D0,D1,A3,A4,A5, D0
00002D32 B684 cmp.l D3, D4
00002D34 6F04 ble +0x6 /* 00002D3A */
00002D36 2803 move.l D4, D3
00002D38 264A movea.l A3, A2
label00002D3A:
00002D3A 594F subq.w A7, 4
00002D3C 2F0A move.l -[A7], A2
00002D3E AA2B syscall GetNextDevice
00002D40 245F movea.l A2, [A7]+
label00002D42:
00002D42 200A move.l D0, A2
00002D44 669A bne -0x64 /* 00002CE0 */
label00002D46:
00002D46 200B move.l D0, A3
00002D48 6726 beq +0x28 /* 00002D70 */
00002D4A 2053 movea.l A0, [A3]
00002D4C 7022 moveq.l D0, 0x22
00002D4E D1C0 add.l A0, D0
00002D50 43EE FFE8 lea.l A1, [A6 - 0x18]
00002D54 22D8 move.l [A1]+, [A0]+
00002D56 22D8 move.l [A1]+, [A0]+
00002D58 594F subq.w A7, 4
00002D5A AA2A syscall GetMainDevice
00002D5C 205F movea.l A0, [A7]+
00002D5E B1CB cmpa.l A0, A3
00002D60 6626 bne +0x28 /* 00002D88 */
00002D62 554F subq.w A7, 2
00002D64 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00002D68 301F move.w D0, [A7]+
00002D6A D16E FFE8 add.w [A6 - 0x18], D0
00002D6E 6018 bra +0x1A /* 00002D88 */
label00002D70:
00002D70 41ED FC9A lea.l A0, [A5 - 0x366]
00002D74 43EE FFE8 lea.l A1, [A6 - 0x18]
00002D78 22D8 move.l [A1]+, [A0]+
00002D7A 22D8 move.l [A1]+, [A0]+
00002D7C 554F subq.w A7, 2
00002D7E 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00002D82 301F move.w D0, [A7]+
00002D84 D16E FFE8 add.w [A6 - 0x18], D0
label00002D88:
00002D88 246E 0008 movea.l A2, [A6 + 0x8]
00002D8C 7010 moveq.l D0, 0x10
00002D8E D5C0 add.l A2, D0
00002D90 41EE FFD8 lea.l A0, [A6 - 0x28]
00002D94 20DA move.l [A0]+, [A2]+
00002D96 20DA move.l [A0]+, [A2]+
00002D98 486E FFD8 pea.l [A6 - 0x28]
00002D9C A870 syscall LocalToGlobal
00002D9E 486E FFDC pea.l [A6 - 0x24]
00002DA2 A870 syscall LocalToGlobal
00002DA4 382E FFDA move.w D4, [A6 - 0x26]
00002DA8 5444 addq.w D4, 2
00002DAA 246E FFD0 movea.l A2, [A6 - 0x30]
00002DAE 986A 0002 sub.w D4, [A2 + 0x2]
00002DB2 D96E FFEA add.w [A6 - 0x16], D4
00002DB6 302E FFD8 move.w D0, [A6 - 0x28]
00002DBA 5440 addq.w D0, 2
00002DBC 9052 sub.w D0, [A2]
00002DBE D16E FFE8 add.w [A6 - 0x18], D0
00002DC2 302A 0006 move.w D0, [A2 + 0x6]
00002DC6 5240 addq.w D0, 1
00002DC8 906E FFDE sub.w D0, [A6 - 0x22]
00002DCC 916E FFEE sub.w [A6 - 0x12], D0
00002DD0 302A 0004 move.w D0, [A2 + 0x4]
00002DD4 5240 addq.w D0, 1
00002DD6 906E FFDC sub.w D0, [A6 - 0x24]
00002DDA 916E FFEC sub.w [A6 - 0x14], D0
00002DDE 206E 0008 movea.l A0, [A6 + 0x8]
00002DE2 2068 0082 movea.l A0, [A0 + 0x82]
00002DE6 2050 movea.l A0, [A0]
00002DE8 5048 addq.w A0, 8
00002DEA 2D48 FFD4 move.l [A6 - 0x2C], A0
00002DEE 302E FFDA move.w D0, [A6 - 0x26]
00002DF2 2448 movea.l A2, A0
00002DF4 544A addq.w A2, 2
00002DF6 3480 move.w [A2], D0
00002DF8 383C 0080 move.w D4, 0x80
00002DFC BC44 cmp.w D6, D4
00002DFE 6F08 ble +0xA /* 00002E08 */
00002E00 3A06 move.w D5, D6
00002E02 3205 move.w D1, D5
00002E04 48C1 ext.l D1
00002E06 6004 bra +0x6 /* 00002E0C */
label00002E08:
00002E08 48C4 ext.l D4
00002E0A 2204 move.l D1, D4
label00002E0C:
00002E0C D041 add.w D0, D1
00002E0E 2648 movea.l A3, A0
00002E10 5C4B addq.w A3, 6
00002E12 3680 move.w [A3], D0
00002E14 302E FFD8 move.w D0, [A6 - 0x28]
00002E18 3080 move.w [A0], D0
00002E1A BE44 cmp.w D7, D4
00002E1C 6F08 ble +0xA /* 00002E26 */
00002E1E 3807 move.w D4, D7
00002E20 3204 move.w D1, D4
00002E22 48C1 ext.l D1
00002E24 6002 bra +0x4 /* 00002E28 */
label00002E26:
00002E26 2204 move.l D1, D4
label00002E28:
00002E28 D041 add.w D0, D1
00002E2A 2848 movea.l A4, A0
00002E2C 584C addq.w A4, 4
00002E2E 3880 move.w [A4], D0
00002E30 2F08 move.l -[A7], A0
00002E32 382E FFEA move.w D4, [A6 - 0x16]
00002E36 48C4 ext.l D4
00002E38 3012 move.w D0, [A2]
00002E3A 48C0 ext.l D0
00002E3C 9880 sub.l D4, D0
00002E3E 7A00 moveq.l D5, 0x00
00002E40 B885 cmp.l D4, D5
00002E42 6F04 ble +0x6 /* 00002E48 */
00002E44 2004 move.l D0, D4
00002E46 6002 bra +0x4 /* 00002E4A */
label00002E48:
00002E48 2005 move.l D0, D5
label00002E4A:
00002E4A 3F00 move.w -[A7], D0
00002E4C 382E FFE8 move.w D4, [A6 - 0x18]
00002E50 48C4 ext.l D4
00002E52 3010 move.w D0, [A0]
00002E54 48C0 ext.l D0
00002E56 9880 sub.l D4, D0
00002E58 B885 cmp.l D4, D5
00002E5A 6F04 ble +0x6 /* 00002E60 */
00002E5C 2004 move.l D0, D4
00002E5E 6002 bra +0x4 /* 00002E62 */
label00002E60:
00002E60 2005 move.l D0, D5
label00002E62:
00002E62 3F00 move.w -[A7], D0
00002E64 A8A8 syscall OffsetRect
00002E66 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
00002E6A 3813 move.w D4, [A3]
00002E6C 48C4 ext.l D4
00002E6E 302E FFEE move.w D0, [A6 - 0x12]
00002E72 48C0 ext.l D0
00002E74 9880 sub.l D4, D0
00002E76 B885 cmp.l D4, D5
00002E78 6A04 bpl +0x6 /* 00002E7E */
00002E7A 2005 move.l D0, D5
00002E7C 6016 bra +0x18 /* 00002E94 */
label00002E7E:
00002E7E 3612 move.w D3, [A2]
00002E80 48C3 ext.l D3
00002E82 302E FFEA move.w D0, [A6 - 0x16]
00002E86 48C0 ext.l D0
00002E88 9680 sub.l D3, D0
00002E8A B883 cmp.l D4, D3
00002E8C 6F04 ble +0x6 /* 00002E92 */
00002E8E 2003 move.l D0, D3
00002E90 6002 bra +0x4 /* 00002E94 */
label00002E92:
00002E92 2004 move.l D0, D4
label00002E94:
00002E94 4440 neg.w D0
00002E96 3F00 move.w -[A7], D0
00002E98 3614 move.w D3, [A4]
00002E9A 48C3 ext.l D3
00002E9C 302E FFEC move.w D0, [A6 - 0x14]
00002EA0 48C0 ext.l D0
00002EA2 9680 sub.l D3, D0
00002EA4 B685 cmp.l D3, D5
00002EA6 6A04 bpl +0x6 /* 00002EAC */
00002EA8 2005 move.l D0, D5
00002EAA 601A bra +0x1C /* 00002EC6 */
label00002EAC:
00002EAC 206E FFD4 movea.l A0, [A6 - 0x2C]
00002EB0 3810 move.w D4, [A0]
00002EB2 48C4 ext.l D4
00002EB4 302E FFE8 move.w D0, [A6 - 0x18]
00002EB8 48C0 ext.l D0
00002EBA 9880 sub.l D4, D0
00002EBC B684 cmp.l D3, D4
00002EBE 6F04 ble +0x6 /* 00002EC4 */
00002EC0 2004 move.l D0, D4
00002EC2 6002 bra +0x4 /* 00002EC6 */
label00002EC4:
00002EC4 2003 move.l D0, D3
label00002EC6:
00002EC6 4440 neg.w D0
00002EC8 3F00 move.w -[A7], D0
00002ECA A8A8 syscall OffsetRect
00002ECC 3613 move.w D3, [A3]
00002ECE 382E FFEE move.w D4, [A6 - 0x12]
00002ED2 B644 cmp.w D3, D4
00002ED4 6F06 ble +0x8 /* 00002EDC */
00002ED6 3004 move.w D0, D4
00002ED8 48C0 ext.l D0
00002EDA 6008 bra +0xA /* 00002EE4 */
label00002EDC:
00002EDC 3003 move.w D0, D3
00002EDE 3200 move.w D1, D0
00002EE0 48C1 ext.l D1
00002EE2 2001 move.l D0, D1
label00002EE4:
00002EE4 3680 move.w [A3], D0
00002EE6 3614 move.w D3, [A4]
00002EE8 382E FFEC move.w D4, [A6 - 0x14]
00002EEC B644 cmp.w D3, D4
00002EEE 6F06 ble +0x8 /* 00002EF6 */
00002EF0 3004 move.w D0, D4
00002EF2 48C0 ext.l D0
00002EF4 6008 bra +0xA /* 00002EFE */
label00002EF6:
00002EF6 3003 move.w D0, D3
00002EF8 3200 move.w D1, D0
00002EFA 48C1 ext.l D1
00002EFC 2001 move.l D0, D1
label00002EFE:
00002EFE 3880 move.w [A4], D0
label00002F00:
00002F00 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F04 3F2E 000C move.w -[A7], [A6 + 0xC]
00002F08 594F subq.w A7, 4
00002F0A A924 syscall FrontWindow
00002F0C 205F movea.l A0, [A7]+
00002F0E B1EE 0008 cmpa.l A0, [A6 + 0x8]
00002F12 6704 beq +0x6 /* 00002F18 */
00002F14 7000 moveq.l D0, 0x00
00002F16 6002 bra +0x4 /* 00002F1A */
label00002F18:
00002F18 7001 moveq.l D0, 0x01
label00002F1A:
00002F1A 2000 move.l D0, D0
00002F1C 1F00 move.b -[A7], D0
00002F1E A83A syscall ZoomWindow
00002F20 42A7 clr.l -[A7]
00002F22 7601 moveq.l D3, 0x01
00002F24 1F03 move.b -[A7], D3
00002F26 1F03 move.b -[A7], D3
00002F28 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F2C 4EBA E4D6 jsr [PC - 0x1B2A /* 00001404 */]
00002F30 4FEF 000C lea.l A7, [A7 + 0xC]
00002F34 206E 0008 movea.l A0, [A6 + 0x8]
00002F38 7010 moveq.l D0, 0x10
00002F3A D1C0 add.l A0, D0
00002F3C 2F08 move.l -[A7], A0
00002F3E A928 syscall InvalRect
00002F40 4240 clr.w D0
00002F42 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00002F46 4E5E unlink A6
00002F48 4E75 rts
export_16:
fn00002F4A:
00002F4A 4E56 FFF8 link A6, -0x0008
00002F4E 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002F52 286E 0008 movea.l A4, [A6 + 0x8]
00002F56 4243 clr.w D3
00002F58 2F0C move.l -[A7], A4
00002F5A 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002F5E 584F addq.w A7, 4
00002F60 2640 movea.l A3, D0
00002F62 2F0C move.l -[A7], A4
00002F64 A873 syscall SetPort
00002F66 200B move.l D0, A3
00002F68 676C beq +0x6E /* 00002FD6 */
00002F6A 246B 0126 movea.l A2, [A3 + 0x126]
00002F6E 200A move.l D0, A2
00002F70 6710 beq +0x12 /* 00002F82 */
00002F72 1F2E 000C move.b -[A7], [A6 + 0xC]
00002F76 2F0B move.l -[A7], A3
00002F78 2F0C move.l -[A7], A4
00002F7A 4E92 jsr [A2]
00002F7C 4FEF 000A lea.l A7, [A7 + 0xA]
00002F80 3600 move.w D3, D0
label00002F82:
00002F82 4A43 tst.w D3
00002F84 6650 bne +0x52 /* 00002FD6 */
00002F86 102E 000C move.b D0, [A6 + 0xC]
00002F8A 671A beq +0x1C /* 00002FA6 */
00002F8C 246B 0160 movea.l A2, [A3 + 0x160]
00002F90 200A move.l D0, A2
00002F92 6704 beq +0x6 /* 00002F98 */
00002F94 2F0A move.l -[A7], A2
00002F96 A957 syscall ShowControl
label00002F98:
00002F98 246B 0164 movea.l A2, [A3 + 0x164]
00002F9C 200A move.l D0, A2
00002F9E 671E beq +0x20 /* 00002FBE */
00002FA0 2F0A move.l -[A7], A2
00002FA2 A957 syscall ShowControl
00002FA4 6018 bra +0x1A /* 00002FBE */
label00002FA6:
00002FA6 246B 0160 movea.l A2, [A3 + 0x160]
00002FAA 200A move.l D0, A2
00002FAC 6704 beq +0x6 /* 00002FB2 */
00002FAE 2F0A move.l -[A7], A2
00002FB0 A958 syscall HideControl
label00002FB2:
00002FB2 246B 0164 movea.l A2, [A3 + 0x164]
00002FB6 200A move.l D0, A2
00002FB8 6704 beq +0x6 /* 00002FBE */
00002FBA 2F0A move.l -[A7], A2
00002FBC A958 syscall HideControl
label00002FBE:
00002FBE 4A2B 0152 tst.b [A3 + 0x152]
00002FC2 6712 beq +0x14 /* 00002FD6 */
00002FC4 486E FFF8 pea.l [A6 - 0x8]
00002FC8 2F0B move.l -[A7], A3
00002FCA 4EBA E3AA jsr [PC - 0x1C56 /* 00001376 */]
00002FCE 504F addq.w A7, 8
00002FD0 486E FFF8 pea.l [A6 - 0x8]
00002FD4 A928 syscall InvalRect
label00002FD6:
00002FD6 4227 clr.b -[A7]
00002FD8 7001 moveq.l D0, 0x01
00002FDA 1F00 move.b -[A7], D0
00002FDC 2F0C move.l -[A7], A4
00002FDE 4EBA EACC jsr [PC - 0x1534 /* 00001AAC */]
00002FE2 504F addq.w A7, 8
00002FE4 3003 move.w D0, D3
00002FE6 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002FEA 4E5E unlink A6
00002FEC 4E75 rts
export_17:
fn00002FEE:
00002FEE 4E56 FFFC link A6, -0x0004
00002FF2 7000 moveq.l D0, 0x00
00002FF4 2D40 FFFC move.l [A6 - 0x4], D0
00002FF8 102D FD93 move.b D0, [A5 - 0x26D]
00002FFC 662A bne +0x2C /* 00003028 */
00002FFE 303C 005F move.w D0, 0x5F /* '_' */
00003002 A832 syscall QuickDrawGX
00003004 486E FFFC pea.l [A6 - 0x4]
00003008 303C 0061 move.w D0, 0x61 /* 'a' */
0000300C A832 syscall QuickDrawGX
0000300E 584F addq.w A7, 4
00003010 202E FFFC move.l D0, [A6 - 0x4]
00003014 6612 bne +0x14 /* 00003028 */
00003016 303C 005A move.w D0, 0x5A /* 'Z' */
0000301A A832 syscall QuickDrawGX
0000301C 4A80 tst.l D0
0000301E 6608 bne +0xA /* 00003028 */
00003020 2D7C FFFF 92A1 FFFC move.l [A6 - 0x4], 0xFFFF92A1
label00003028:
00003028 102D FD8C move.b D0, [A5 - 0x274]
0000302C 6738 beq +0x3A /* 00003066 */
0000302E 102D FD94 move.b D0, [A5 - 0x26C]
00003032 6632 bne +0x34 /* 00003066 */
00003034 202E FFFC move.l D0, [A6 - 0x4]
00003038 661C bne +0x1E /* 00003056 */
0000303A 554F subq.w A7, 2
0000303C 203C 0000 0000 move.l D0, 0x0
00003042 ABFE syscall GXPrinting
00003044 301F move.w D0, [A7]+
00003046 48C0 ext.l D0
00003048 2D40 FFFC move.l [A6 - 0x4], D0
0000304C 4A80 tst.l D0
0000304E 6706 beq +0x8 /* 00003056 */
00003050 303C 0060 move.w D0, 0x60 /* '`' */
00003054 A832 syscall QuickDrawGX
label00003056:
00003056 202E FFFC move.l D0, [A6 - 0x4]
0000305A 670A beq +0xC /* 00003066 */
0000305C 42A7 clr.l -[A7]
0000305E 303C 005B move.w D0, 0x5B /* '[' */
00003062 A832 syscall QuickDrawGX
00003064 584F addq.w A7, 4
label00003066:
00003066 303C 005A move.w D0, 0x5A /* 'Z' */
0000306A A832 syscall QuickDrawGX
0000306C 4A80 tst.l D0
0000306E 6608 bne +0xA /* 00003078 */
00003070 2D7C FFFF 92A1 FFFC move.l [A6 - 0x4], 0xFFFF92A1
label00003078:
00003078 202E FFFC move.l D0, [A6 - 0x4]
0000307C 660C bne +0xE /* 0000308A */
0000307E 1B7C 0001 FD93 move.b [A5 - 0x26D], 0x1
00003084 1B6D FD8C FD94 move.b [A5 - 0x26C], [A5 - 0x274]
label0000308A:
0000308A 302E FFFE move.w D0, [A6 - 0x2]
0000308E 4E5E unlink A6
00003090 4E75 rts
export_18:
00003092 4E56 0000 link A6, 0
00003096 48E7 1030 movem.l -[A7], D3,A2,A3
0000309A 266E 0008 movea.l A3, [A6 + 0x8]
0000309E 102D FD8C move.b D0, [A5 - 0x274]
000030A2 674A beq +0x4C /* 000030EE */
000030A4 4EBA FF48 jsr [PC - 0xB8 /* 00002FEE */]
000030A8 3600 move.w D3, D0
000030AA 6600 0084 bne +0x86 /* 00003130 */
000030AE 244B movea.l A2, A3
000030B0 45EA 014E lea.l A2, [A2 + 0x14E]
000030B4 4A92 tst.l [A2]
000030B6 6678 bne +0x7A /* 00003130 */
000030B8 554F subq.w A7, 2
000030BA 2F0A move.l -[A7], A2
000030BC 203C 0000 0002 move.l D0, 0x2
000030C2 ABFE syscall GXPrinting
000030C4 361F move.w D3, [A7]+
000030C6 6668 bne +0x6A /* 00003130 */
000030C8 2F12 move.l -[A7], [A2]
000030CA 7004 moveq.l D0, 0x04
000030CC 3F00 move.w -[A7], D0
000030CE 2F2D FC10 move.l -[A7], [A5 - 0x3F0]
000030D2 203C 0000 0008 move.l D0, 0x8
000030D8 ABFE syscall GXPrinting
000030DA 2F12 move.l -[A7], [A2]
000030DC 7013 moveq.l D0, 0x13
000030DE 3F00 move.w -[A7], D0
000030E0 2F2D FC0C move.l -[A7], [A5 - 0x3F4]
000030E4 203C 0000 0008 move.l D0, 0x8
000030EA ABFE syscall GXPrinting
000030EC 6042 bra +0x44 /* 00003130 */
label000030EE:
000030EE 2F3C C800 0000 move.l -[A7], 0xC8000000
000030F4 A8FD syscall PrGlue
000030F6 554F subq.w A7, 2
000030F8 2F3C BA00 0000 move.l -[A7], 0xBA000000
000030FE A8FD syscall PrGlue
00003100 361F move.w D3, [A7]+
00003102 6624 bne +0x26 /* 00003128 */
00003104 244B movea.l A2, A3
00003106 45EA 014E lea.l A2, [A2 + 0x14E]
0000310A 4A92 tst.l [A2]
0000310C 661A bne +0x1C /* 00003128 */
0000310E 7078 moveq.l D0, 0x78
00003110 A322 syscall NewHandleClear, flags=3
00003112 2488 move.l [A2], A0
00003114 554F subq.w A7, 2
00003116 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000311A 361F move.w D3, [A7]+
0000311C 660A bne +0xC /* 00003128 */
0000311E 2F12 move.l -[A7], [A2]
00003120 2F3C 2004 0480 move.l -[A7], 0x20040480
00003126 A8FD syscall PrGlue
label00003128:
00003128 2F3C D000 0000 move.l -[A7], 0xD0000000
0000312E A8FD syscall PrGlue
label00003130:
00003130 3003 move.w D0, D3
00003132 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00003136 4E5E unlink A6
00003138 4E75 rts
fn0000313A:
0000313A 4E56 FF00 link A6, -0x0100
0000313E 48E7 0E30 movem.l -[A7], D4,D5,D6,A2,A3
00003142 246E 0008 movea.l A2, [A6 + 0x8]
00003146 3A2E 000C move.w D5, [A6 + 0xC]
0000314A 2C2E 0012 move.l D6, [A6 + 0x12]
0000314E 4244 clr.w D4
00003150 7000 moveq.l D0, 0x00
00003152 2640 movea.l A3, D0
00003154 200A move.l D0, A2
00003156 672A beq +0x2C /* 00003182 */
00003158 2F0A move.l -[A7], A2
0000315A 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
0000315E 584F addq.w A7, 4
00003160 2640 movea.l A3, D0
00003162 200B move.l D0, A3
00003164 671C beq +0x1E /* 00003182 */
00003166 4AAB 013E tst.l [A3 + 0x13E]
0000316A 6716 beq +0x18 /* 00003182 */
0000316C 2F2E 000E move.l -[A7], [A6 + 0xE]
00003170 3F05 move.w -[A7], D5
00003172 2F0B move.l -[A7], A3
00003174 2F0A move.l -[A7], A2
00003176 206B 013E movea.l A0, [A3 + 0x13E]
0000317A 4E90 jsr [A0]
0000317C 4FEF 000E lea.l A7, [A7 + 0xE]
00003180 3800 move.w D4, D0
label00003182:
00003182 4A44 tst.w D4
00003184 6600 01E0 bne +0x1E2 /* 00003366 */
00003188 3005 move.w D0, D5
0000318A 48C0 ext.l D0
0000318C 7201 moveq.l D1, 0x01
0000318E B081 cmp.l D0, D1
00003190 6762 beq +0x64 /* 000031F4 */
00003192 7202 moveq.l D1, 0x02
00003194 B081 cmp.l D0, D1
00003196 6700 008C beq +0x8E /* 00003224 */
0000319A 720A moveq.l D1, 0x0A
0000319C B081 cmp.l D0, D1
0000319E 6700 00AE beq +0xB0 /* 0000324E */
000031A2 720B moveq.l D1, 0x0B
000031A4 B081 cmp.l D0, D1
000031A6 6700 00C4 beq +0xC6 /* 0000326C */
000031AA 720C moveq.l D1, 0x0C
000031AC B081 cmp.l D0, D1
000031AE 6700 00C6 beq +0xC8 /* 00003276 */
000031B2 720F moveq.l D1, 0x0F
000031B4 B081 cmp.l D0, D1
000031B6 6700 00CE beq +0xD0 /* 00003286 */
000031BA 7210 moveq.l D1, 0x10
000031BC B081 cmp.l D0, D1
000031BE 6700 00D4 beq +0xD6 /* 00003294 */
000031C2 7211 moveq.l D1, 0x11
000031C4 B081 cmp.l D0, D1
000031C6 6700 00F2 beq +0xF4 /* 000032BA */
000031CA 7212 moveq.l D1, 0x12
000031CC B081 cmp.l D0, D1
000031CE 6700 0102 beq +0x104 /* 000032D2 */
000031D2 7222 moveq.l D1, 0x22
000031D4 B081 cmp.l D0, D1
000031D6 6700 0104 beq +0x106 /* 000032DC */
000031DA 721F moveq.l D1, 0x1F
000031DC B081 cmp.l D0, D1
000031DE 6700 013C beq +0x13E /* 0000331C */
000031E2 7220 moveq.l D1, 0x20
000031E4 B081 cmp.l D0, D1
000031E6 6700 015A beq +0x15C /* 00003342 */
000031EA 4A80 tst.l D0
000031EC 6700 0178 beq +0x17A /* 00003366 */
000031F0 6000 0174 bra +0x176 /* 00003366 */
label000031F4:
000031F4 2F3C 4142 4F54 move.l -[A7], 0x41424F54 /* 'ABOT' */
000031FA 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000031FE 584F addq.w A7, 4
00003200 4A00 tst.b D0
00003202 6600 0162 bne +0x164 /* 00003366 */
00003206 42A7 clr.l -[A7]
00003208 2F3C 3F3F 3F3F move.l -[A7], 0x3F3F3F3F /* '????' */
0000320E 42A7 clr.l -[A7]
00003210 2F3C 4142 4F54 move.l -[A7], 0x41424F54 /* 'ABOT' */
00003216 4EBA EAA0 jsr [PC - 0x1560 /* 00001CB8 */]
0000321A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000321E 3800 move.w D4, D0
00003220 6000 0144 bra +0x146 /* 00003366 */
label00003224:
00003224 594F subq.w A7, 4
00003226 202E 000E move.l D0, [A6 + 0xE]
0000322A 7210 moveq.l D1, 0x10
0000322C E2A0 asr D0, D1
0000322E 3F00 move.w -[A7], D0
00003230 A949 syscall GetMenuHandle
00003232 201F move.l D0, [A7]+
00003234 2F00 move.l -[A7], D0
00003236 3F2E 0010 move.w -[A7], [A6 + 0x10]
0000323A 486E FF00 pea.l [A6 - 0x100]
0000323E A946 syscall GetMenuItemText/GetItem
00003240 554F subq.w A7, 2
00003242 486E FF00 pea.l [A6 - 0x100]
00003246 A9B6 syscall OpenDeskAcc
00003248 544F addq.w A7, 2
0000324A 6000 011A bra +0x11C /* 00003366 */
label0000324E:
0000324E 42A7 clr.l -[A7]
00003250 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00003256 42A7 clr.l -[A7]
00003258 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
0000325E 4EBA EA58 jsr [PC - 0x15A8 /* 00001CB8 */]
00003262 4FEF 0010 lea.l A7, [A7 + 0x10]
00003266 3800 move.w D4, D0
00003268 6000 00FC bra +0xFE /* 00003366 */
label0000326C:
0000326C 4EBA F308 jsr [PC - 0xCF8 /* 00002576 */]
00003270 3800 move.w D4, D0
00003272 6000 00F2 bra +0xF4 /* 00003366 */
label00003276:
00003276 2F06 move.l -[A7], D6
00003278 2F0A move.l -[A7], A2
0000327A 4EBA EFD6 jsr [PC - 0x102A /* 00002252 */]
0000327E 504F addq.w A7, 8
00003280 3800 move.w D4, D0
00003282 6000 00E2 bra +0xE4 /* 00003366 */
label00003286:
00003286 2F0A move.l -[A7], A2
00003288 4EAD 02C2 jsr [A5 + 0x2C2 /* export_84 */]
0000328C 584F addq.w A7, 4
0000328E 3800 move.w D4, D0
00003290 6000 00D4 bra +0xD6 /* 00003366 */
label00003294:
00003294 42A7 clr.l -[A7]
00003296 2F0A move.l -[A7], A2
00003298 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
0000329C 504F addq.w A7, 8
0000329E 3800 move.w D4, D0
000032A0 6600 00C4 bne +0xC6 /* 00003366 */
000032A4 4227 clr.b -[A7]
000032A6 2F2B 014E move.l -[A7], [A3 + 0x14E]
000032AA 2F0A move.l -[A7], A2
000032AC 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
000032B0 4FEF 000A lea.l A7, [A7 + 0xA]
000032B4 3800 move.w D4, D0
000032B6 6000 00AE bra +0xB0 /* 00003366 */
label000032BA:
000032BA 7001 moveq.l D0, 0x01
000032BC 1F00 move.b -[A7], D0
000032BE 2F2B 014E move.l -[A7], [A3 + 0x14E]
000032C2 2F0A move.l -[A7], A2
000032C4 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
000032C8 4FEF 000A lea.l A7, [A7 + 0xA]
000032CC 3800 move.w D4, D0
000032CE 6000 0096 bra +0x98 /* 00003366 */
label000032D2:
000032D2 1B7C 0001 FD96 move.b [A5 - 0x26A], 0x1
000032D8 6000 008C bra +0x8E /* 00003366 */
label000032DC:
000032DC 2F3C 436C 6970 move.l -[A7], 0x436C6970 /* 'Clip' */
000032E2 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000032E6 584F addq.w A7, 4
000032E8 4A00 tst.b D0
000032EA 661C bne +0x1E /* 00003308 */
000032EC 42A7 clr.l -[A7]
000032EE 2F3C 3F3F 3F3F move.l -[A7], 0x3F3F3F3F /* '????' */
000032F4 42A7 clr.l -[A7]
000032F6 2F3C 436C 6970 move.l -[A7], 0x436C6970 /* 'Clip' */
000032FC 4EBA E9BA jsr [PC - 0x1646 /* 00001CB8 */]
00003300 4FEF 0010 lea.l A7, [A7 + 0x10]
00003304 3800 move.w D4, D0
00003306 605E bra +0x60 /* 00003366 */
label00003308:
00003308 594F subq.w A7, 4
0000330A A924 syscall FrontWindow
0000330C 245F movea.l A2, [A7]+
0000330E 2F06 move.l -[A7], D6
00003310 2F0A move.l -[A7], A2
00003312 4EBA EF3E jsr [PC - 0x10C2 /* 00002252 */]
00003316 504F addq.w A7, 8
00003318 3800 move.w D4, D0
0000331A 604A bra +0x4C /* 00003366 */
label0000331C:
0000331C 7003 moveq.l D0, 0x03
0000331E 3B40 FD98 move.w [A5 - 0x268], D0
00003322 2B7C 0000 7900 FD9A move.l [A5 - 0x266], 0x7900 /* 'y\0' */
0000332A 4240 clr.w D0
0000332C 3B40 FDA6 move.w [A5 - 0x25A], D0
00003330 4227 clr.b -[A7]
00003332 486D FD98 pea.l [A5 - 0x268]
00003336 2F0A move.l -[A7], A2
00003338 4EBA 02D0 jsr [PC + 0x2D0 /* 0000360A */]
0000333C 4FEF 000A lea.l A7, [A7 + 0xA]
00003340 6024 bra +0x26 /* 00003366 */
label00003342:
00003342 7003 moveq.l D0, 0x03
00003344 3B40 FD98 move.w [A5 - 0x268], D0
00003348 2B7C 0000 7400 FD9A move.l [A5 - 0x266], 0x7400 /* 't\0' */
00003350 4240 clr.w D0
00003352 3B40 FDA6 move.w [A5 - 0x25A], D0
00003356 4227 clr.b -[A7]
00003358 486D FD98 pea.l [A5 - 0x268]
0000335C 2F0A move.l -[A7], A2
0000335E 4EBA 02AA jsr [PC + 0x2AA /* 0000360A */]
00003362 4FEF 000A lea.l A7, [A7 + 0xA]
label00003366:
00003366 0C44 0080 cmpi.w D4, 0x80
0000336A 6706 beq +0x8 /* 00003372 */
0000336C 0C44 FDE8 cmpi.w D4, 0xFDE8
00003370 6602 bne +0x4 /* 00003374 */
label00003372:
00003372 4244 clr.w D4
label00003374:
00003374 0C44 92A1 cmpi.w D4, 0x92A1
00003378 6602 bne +0x4 /* 0000337C */
0000337A 7894 moveq.l D4, 0xFFFFFF94
label0000337C:
0000337C 4A44 tst.w D4
0000337E 672A beq +0x2C /* 000033AA */
00003380 0C44 0064 cmpi.w D4, 0x64 /* 'd' */
00003384 6724 beq +0x26 /* 000033AA */
00003386 0C44 0065 cmpi.w D4, 0x65 /* 'e' */
0000338A 671E beq +0x20 /* 000033AA */
0000338C 0C45 000E cmpi.w D5, 0xE
00003390 6602 bne +0x4 /* 00003394 */
00003392 7A0D moveq.l D5, 0x0D
label00003394:
00003394 0C45 0011 cmpi.w D5, 0x11
00003398 6602 bne +0x4 /* 0000339C */
0000339A 7A10 moveq.l D5, 0x10
label0000339C:
0000339C 7002 moveq.l D0, 0x02
0000339E 3F00 move.w -[A7], D0
000033A0 3F05 move.w -[A7], D5
000033A2 3F04 move.w -[A7], D4
000033A4 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000033A8 5C4F addq.w A7, 6
label000033AA:
000033AA 2F06 move.l -[A7], D6
000033AC 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000033B0 584F addq.w A7, 4
000033B2 3004 move.w D0, D4
000033B4 4CDF 0C70 movem.l D4,D5,D6,A2,A3, [A7]+
000033B8 4E5E unlink A6
000033BA 4E75 rts
fn000033BC:
000033BC 4E56 0000 link A6, 0
000033C0 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000033C4 4245 clr.w D5
000033C6 4244 clr.w D4
000033C8 202E 000C move.l D0, [A6 + 0xC]
000033CC 7210 moveq.l D1, 0x10
000033CE E2A0 asr D0, D1
000033D0 3C00 move.w D6, D0
000033D2 0C46 BF96 cmpi.w D6, 0xBF96
000033D6 663C bne +0x3E /* 00003414 */
000033D8 262D F9F8 move.l D3, [A5 - 0x608]
000033DC 78FF moveq.l D4, 0xFFFFFFFF
000033DE B684 cmp.l D3, D4
000033E0 671C beq +0x1E /* 000033FE */
000033E2 554F subq.w A7, 2
000033E4 2F03 move.l -[A7], D3
000033E6 7006 moveq.l D0, 0x06
000033E8 AA6E syscall AppleGuideDispatch
000033EA 101F move.b D0, [A7]+
000033EC 6710 beq +0x12 /* 000033FE */
000033EE 554F subq.w A7, 2
000033F0 486D F9F8 pea.l [A5 - 0x608]
000033F4 7011 moveq.l D0, 0x11
000033F6 AA6E syscall AppleGuideDispatch
000033F8 544F addq.w A7, 2
000033FA 2B44 F9F8 move.l [A5 - 0x608], D4
label000033FE:
000033FE 554F subq.w A7, 2
00003400 486D FD24 pea.l [A5 - 0x2DC]
00003404 42A7 clr.l -[A7]
00003406 42A7 clr.l -[A7]
00003408 486D F9F8 pea.l [A5 - 0x608]
0000340C 7001 moveq.l D0, 0x01
0000340E AA6E syscall AppleGuideDispatch
00003410 544F addq.w A7, 2
00003412 6072 bra +0x74 /* 00003486 */
label00003414:
00003414 0C46 00C8 cmpi.w D6, 0xC8
00003418 6D04 blt +0x6 /* 0000341E */
0000341A 7824 moveq.l D4, 0x24
0000341C 6050 bra +0x52 /* 0000346E */
label0000341E:
0000341E 554F subq.w A7, 2
00003420 A994 syscall CurResFile
00003422 361F move.w D3, [A7]+
00003424 3F2D FD6E move.w -[A7], [A5 - 0x292]
00003428 A998 syscall UseResFile
0000342A 594F subq.w A7, 4
0000342C 2F3C 4D43 4D44 move.l -[A7], 0x4D434D44 /* 'MCMD' */
00003432 3F06 move.w -[A7], D6
00003434 A81F syscall Get1Resource
00003436 245F movea.l A2, [A7]+
00003438 3F03 move.w -[A7], D3
0000343A A998 syscall UseResFile
0000343C 554F subq.w A7, 2
0000343E A9AF syscall ResError
00003440 3A1F move.w D5, [A7]+
00003442 6642 bne +0x44 /* 00003486 */
00003444 200A move.l D0, A2
00003446 6726 beq +0x28 /* 0000346E */
00003448 2652 movea.l A3, [A2]
0000344A 3013 move.w D0, [A3]
0000344C 362E 000E move.w D3, [A6 + 0xE]
00003450 B043 cmp.w D0, D3
00003452 6D0E blt +0x10 /* 00003462 */
00003454 3003 move.w D0, D3
00003456 48C0 ext.l D0
00003458 D080 add.l D0, D0
0000345A D08B add.l D0, A3
0000345C 2040 movea.l A0, D0
0000345E 3810 move.w D4, [A0]
00003460 600C bra +0xE /* 0000346E */
label00003462:
00003462 3013 move.w D0, [A3]
00003464 48C0 ext.l D0
00003466 D080 add.l D0, D0
00003468 D08B add.l D0, A3
0000346A 2040 movea.l A0, D0
0000346C 3810 move.w D4, [A0]
label0000346E:
0000346E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003472 2F2E 000C move.l -[A7], [A6 + 0xC]
00003476 3F04 move.w -[A7], D4
00003478 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000347C 4EBA FCBC jsr [PC - 0x344 /* 0000313A */]
00003480 4FEF 000E lea.l A7, [A7 + 0xE]
00003484 3A00 move.w D5, D0
label00003486:
00003486 3005 move.w D0, D5
00003488 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000348C 4E5E unlink A6
0000348E 4E75 rts
fn00003490:
00003490 4E56 FFFC link A6, -0x0004
00003494 48E7 0038 movem.l -[A7], A2,A3,A4
00003498 286E 000C movea.l A4, [A6 + 0xC]
0000349C 554F subq.w A7, 2
0000349E 244C movea.l A2, A4
000034A0 45EA 0164 lea.l A2, [A2 + 0x164]
000034A4 2F12 move.l -[A7], [A2]
000034A6 A960 syscall GetControlValue/GetCtlValue
000034A8 301F move.w D0, [A7]+
000034AA 2640 movea.l A3, D0
000034AC 554F subq.w A7, 2
000034AE 2F12 move.l -[A7], [A2]
000034B0 A962 syscall GetControlMaximum/GetMaxCtl
000034B2 321F move.w D1, [A7]+
000034B4 200B move.l D0, A3
000034B6 B041 cmp.w D0, D1
000034B8 6C0C bge +0xE /* 000034C6 */
000034BA 2F12 move.l -[A7], [A2]
000034BC 7017 moveq.l D0, 0x17
000034BE 3F00 move.w -[A7], D0
000034C0 4EBA F286 jsr [PC - 0xD7A /* 00002748 */]
000034C4 6074 bra +0x76 /* 0000353A */
label000034C6:
000034C6 102E 0010 move.b D0, [A6 + 0x10]
000034CA 676E beq +0x70 /* 0000353A */
000034CC 701F moveq.l D0, 0x1F
000034CE 3F00 move.w -[A7], D0
000034D0 4EBA E3F0 jsr [PC - 0x1C10 /* 000018C2 */]
000034D4 544F addq.w A7, 2
000034D6 4A00 tst.b D0
000034D8 6760 beq +0x62 /* 0000353A */
000034DA 42A7 clr.l -[A7]
000034DC 42A7 clr.l -[A7]
000034DE 701F moveq.l D0, 0x1F
000034E0 3F00 move.w -[A7], D0
000034E2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000034E6 4EBA FC52 jsr [PC - 0x3AE /* 0000313A */]
000034EA 4FEF 000E lea.l A7, [A7 + 0xE]
000034EE 7264 moveq.l D1, 0x64
000034F0 B041 cmp.w D0, D1
000034F2 6636 bne +0x38 /* 0000352A */
000034F4 554F subq.w A7, 2
000034F6 2F2C 0164 move.l -[A7], [A4 + 0x164]
000034FA A960 syscall GetControlValue/GetCtlValue
000034FC 301F move.w D0, [A7]+
000034FE 3D40 FFFC move.w [A6 - 0x4], D0
00003502 486E FFFC pea.l [A6 - 0x4]
00003506 2F2C 0164 move.l -[A7], [A4 + 0x164]
0000350A 4EBA F1F0 jsr [PC - 0xE10 /* 000026FC */]
0000350E 504F addq.w A7, 8
00003510 302E FFFC move.w D0, [A6 - 0x4]
00003514 6714 beq +0x16 /* 0000352A */
00003516 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000351A 4267 clr.w -[A7]
0000351C 2F0C move.l -[A7], A4
0000351E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003522 4EBA F152 jsr [PC - 0xEAE /* 00002676 */]
00003526 4FEF 000C lea.l A7, [A7 + 0xC]
label0000352A:
0000352A 4227 clr.b -[A7]
0000352C 7001 moveq.l D0, 0x01
0000352E 1F00 move.b -[A7], D0
00003530 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003534 4EBA E576 jsr [PC - 0x1A8A /* 00001AAC */]
00003538 504F addq.w A7, 8
label0000353A:
0000353A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000353E 4E5E unlink A6
00003540 4E75 rts
fn00003542:
00003542 4E56 FFFC link A6, -0x0004
00003546 48E7 0038 movem.l -[A7], A2,A3,A4
0000354A 286E 000C movea.l A4, [A6 + 0xC]
0000354E 554F subq.w A7, 2
00003550 244C movea.l A2, A4
00003552 45EA 0164 lea.l A2, [A2 + 0x164]
00003556 2F12 move.l -[A7], [A2]
00003558 A960 syscall GetControlValue/GetCtlValue
0000355A 301F move.w D0, [A7]+
0000355C 2640 movea.l A3, D0
0000355E 554F subq.w A7, 2
00003560 2F12 move.l -[A7], [A2]
00003562 A961 syscall GetControlMinimum/GetMinCtl
00003564 321F move.w D1, [A7]+
00003566 200B move.l D0, A3
00003568 B041 cmp.w D0, D1
0000356A 6F0E ble +0x10 /* 0000357A */
0000356C 2F12 move.l -[A7], [A2]
0000356E 7016 moveq.l D0, 0x16
00003570 3F00 move.w -[A7], D0
00003572 4EBA F1D4 jsr [PC - 0xE2C /* 00002748 */]
00003576 6000 008A bra +0x8C /* 00003602 */
label0000357A:
0000357A 102E 0010 move.b D0, [A6 + 0x10]
0000357E 6700 0082 beq +0x84 /* 00003602 */
00003582 7020 moveq.l D0, 0x20
00003584 3F00 move.w -[A7], D0
00003586 4EBA E33A jsr [PC - 0x1CC6 /* 000018C2 */]
0000358A 544F addq.w A7, 2
0000358C 4A00 tst.b D0
0000358E 6772 beq +0x74 /* 00003602 */
00003590 42A7 clr.l -[A7]
00003592 42A7 clr.l -[A7]
00003594 7020 moveq.l D0, 0x20
00003596 3F00 move.w -[A7], D0
00003598 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000359C 4EBA FB9C jsr [PC - 0x464 /* 0000313A */]
000035A0 4FEF 000E lea.l A7, [A7 + 0xE]
000035A4 7264 moveq.l D1, 0x64
000035A6 B041 cmp.w D0, D1
000035A8 6648 bne +0x4A /* 000035F2 */
000035AA 554F subq.w A7, 2
000035AC 244C movea.l A2, A4
000035AE 45EA 0164 lea.l A2, [A2 + 0x164]
000035B2 2F12 move.l -[A7], [A2]
000035B4 A962 syscall GetControlMaximum/GetMaxCtl
000035B6 301F move.w D0, [A7]+
000035B8 2640 movea.l A3, D0
000035BA 554F subq.w A7, 2
000035BC 2F12 move.l -[A7], [A2]
000035BE A960 syscall GetControlValue/GetCtlValue
000035C0 321F move.w D1, [A7]+
000035C2 200B move.l D0, A3
000035C4 9041 sub.w D0, D1
000035C6 4440 neg.w D0
000035C8 3D40 FFFC move.w [A6 - 0x4], D0
000035CC 486E FFFC pea.l [A6 - 0x4]
000035D0 2F12 move.l -[A7], [A2]
000035D2 4EBA F128 jsr [PC - 0xED8 /* 000026FC */]
000035D6 504F addq.w A7, 8
000035D8 302E FFFC move.w D0, [A6 - 0x4]
000035DC 6714 beq +0x16 /* 000035F2 */
000035DE 3F2E FFFC move.w -[A7], [A6 - 0x4]
000035E2 4267 clr.w -[A7]
000035E4 2F0C move.l -[A7], A4
000035E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000035EA 4EBA F08A jsr [PC - 0xF76 /* 00002676 */]
000035EE 4FEF 000C lea.l A7, [A7 + 0xC]
label000035F2:
000035F2 4227 clr.b -[A7]
000035F4 7001 moveq.l D0, 0x01
000035F6 1F00 move.b -[A7], D0
000035F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000035FC 4EBA E4AE jsr [PC - 0x1B52 /* 00001AAC */]
00003600 504F addq.w A7, 8
label00003602:
00003602 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00003606 4E5E unlink A6
00003608 4E75 rts
fn0000360A:
0000360A 4E56 FFF8 link A6, -0x0008
0000360E 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00003612 4244 clr.w D4
00003614 7000 moveq.l D0, 0x00
00003616 2840 movea.l A4, D0
00003618 4203 clr.b D3
0000361A 1D43 FFF8 move.b [A6 - 0x8], D3
0000361E 1D43 FFF9 move.b [A6 - 0x7], D3
00003622 7A00 moveq.l D5, 0x00
00003624 206E 000C movea.l A0, [A6 + 0xC]
00003628 2028 0002 move.l D0, [A0 + 0x2]
0000362C E088 lsr D0, 8
0000362E 1D40 FFFA move.b [A6 - 0x6], D0
00003632 202E 0008 move.l D0, [A6 + 0x8]
00003636 670C beq +0xE /* 00003644 */
00003638 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000363C 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003640 584F addq.w A7, 4
00003642 2840 movea.l A4, D0
label00003644:
00003644 206E 000C movea.l A0, [A6 + 0xC]
00003648 3028 000E move.w D0, [A0 + 0xE]
0000364C 0240 0100 andi.w D0, 0x100
00003650 675A beq +0x5C /* 000036AC */
00003652 4EBA 1676 jsr [PC + 0x1676 /* 00004CCA */]
00003656 200C move.l D0, A4
00003658 6714 beq +0x16 /* 0000366E */
0000365A 4AAC 012E tst.l [A4 + 0x12E]
0000365E 670E beq +0x10 /* 0000366E */
00003660 2F0C move.l -[A7], A4
00003662 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003666 206C 012E movea.l A0, [A4 + 0x12E]
0000366A 4E90 jsr [A0]
0000366C 504F addq.w A7, 8
label0000366E:
0000366E 4227 clr.b -[A7]
00003670 7001 moveq.l D0, 0x01
00003672 1F00 move.b -[A7], D0
00003674 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003678 4EBA E432 jsr [PC - 0x1BCE /* 00001AAC */]
0000367C 584F addq.w A7, 4
0000367E 206E 000C movea.l A0, [A6 + 0xC]
00003682 2028 0002 move.l D0, [A0 + 0x2]
00003686 0240 00FF andi.w D0, 0xFF
0000368A 3F00 move.w -[A7], D0
0000368C A93E syscall MenuKey
0000368E 2A1F move.l D5, [A7]+
00003690 594F subq.w A7, 4
00003692 A975 syscall TickCount
00003694 201F move.l D0, [A7]+
00003696 2F00 move.l -[A7], D0
00003698 2F05 move.l -[A7], D5
0000369A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000369E 4EBA FD1C jsr [PC - 0x2E4 /* 000033BC */]
000036A2 508F addq.l A7, 8
000036A4 A924 syscall FrontWindow
000036A6 201F move.l D0, [A7]+
000036A8 2D40 0008 move.l [A6 + 0x8], D0
label000036AC:
000036AC 4A85 tst.l D5
000036AE 6600 0320 bne +0x322 /* 000039D0 */
000036B2 202E 0008 move.l D0, [A6 + 0x8]
000036B6 6716 beq +0x18 /* 000036CE */
000036B8 200C move.l D0, A4
000036BA 670C beq +0xE /* 000036C8 */
000036BC 4AAC 0136 tst.l [A4 + 0x136]
000036C0 6706 beq +0x8 /* 000036C8 */
000036C2 1D7C 0001 FFF8 move.b [A6 - 0x8], 0x1
label000036C8:
000036C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000036CC A873 syscall SetPort
label000036CE:
000036CE 200C move.l D0, A4
000036D0 6700 02E4 beq +0x2E6 /* 000039B6 */
000036D4 102E FFFA move.b D0, [A6 - 0x6]
000036D8 49C0 lea.l A4, D0
000036DA 7273 moveq.l D1, 0x73
000036DC B081 cmp.l D0, D1
000036DE 673C beq +0x3E /* 0000371C */
000036E0 7277 moveq.l D1, 0x77
000036E2 B081 cmp.l D0, D1
000036E4 6700 00AC beq +0xAE /* 00003792 */
000036E8 7274 moveq.l D1, 0x74
000036EA B081 cmp.l D0, D1
000036EC 6700 012C beq +0x12E /* 0000381A */
000036F0 7279 moveq.l D1, 0x79
000036F2 B081 cmp.l D0, D1
000036F4 6700 014C beq +0x14E /* 00003842 */
000036F8 727E moveq.l D1, 0x7E
000036FA B081 cmp.l D0, D1
000036FC 6700 016C beq +0x16E /* 0000386A */
00003700 727D moveq.l D1, 0x7D
00003702 B081 cmp.l D0, D1
00003704 6700 01AE beq +0x1B0 /* 000038B4 */
00003708 727B moveq.l D1, 0x7B
0000370A B081 cmp.l D0, D1
0000370C 6700 01EE beq +0x1F0 /* 000038FC */
00003710 727C moveq.l D1, 0x7C
00003712 B081 cmp.l D0, D1
00003714 6700 0222 beq +0x224 /* 00003938 */
00003718 6000 025C bra +0x25E /* 00003976 */
label0000371C:
0000371C 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003722 4AAC 0164 tst.l [A4 + 0x164]
00003726 6700 024E beq +0x250 /* 00003976 */
0000372A 102E 0010 move.b D0, [A6 + 0x10]
0000372E 6726 beq +0x28 /* 00003756 */
00003730 7021 moveq.l D0, 0x21
00003732 3F00 move.w -[A7], D0
00003734 4EBA E18C jsr [PC - 0x1E74 /* 000018C2 */]
00003738 544F addq.w A7, 2
0000373A 4A00 tst.b D0
0000373C 6718 beq +0x1A /* 00003756 */
0000373E 42A7 clr.l -[A7]
00003740 2F3C FFFF 8001 move.l -[A7], 0xFFFF8001
00003746 7021 moveq.l D0, 0x21
00003748 3F00 move.w -[A7], D0
0000374A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000374E 4EBA F9EA jsr [PC - 0x616 /* 0000313A */]
00003752 4FEF 000E lea.l A7, [A7 + 0xE]
label00003756:
00003756 554F subq.w A7, 2
00003758 2F2C 0164 move.l -[A7], [A4 + 0x164]
0000375C A960 syscall GetControlValue/GetCtlValue
0000375E 301F move.w D0, [A7]+
00003760 3D40 FFFC move.w [A6 - 0x4], D0
00003764 486E FFFC pea.l [A6 - 0x4]
00003768 2F2C 0164 move.l -[A7], [A4 + 0x164]
0000376C 4EBA EF8E jsr [PC - 0x1072 /* 000026FC */]
00003770 504F addq.w A7, 8
00003772 302E FFFC move.w D0, [A6 - 0x4]
00003776 6700 01FA beq +0x1FC /* 00003972 */
0000377A 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000377E 4267 clr.w -[A7]
00003780 2F0C move.l -[A7], A4
00003782 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003786 4EBA EEEE jsr [PC - 0x1112 /* 00002676 */]
0000378A 4FEF 000C lea.l A7, [A7 + 0xC]
0000378E 6000 01E2 bra +0x1E4 /* 00003972 */
label00003792:
00003792 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003798 4AAC 0164 tst.l [A4 + 0x164]
0000379C 6700 01D8 beq +0x1DA /* 00003976 */
000037A0 102E 0010 move.b D0, [A6 + 0x10]
000037A4 6726 beq +0x28 /* 000037CC */
000037A6 7021 moveq.l D0, 0x21
000037A8 3F00 move.w -[A7], D0
000037AA 4EBA E116 jsr [PC - 0x1EEA /* 000018C2 */]
000037AE 544F addq.w A7, 2
000037B0 4A00 tst.b D0
000037B2 6718 beq +0x1A /* 000037CC */
000037B4 42A7 clr.l -[A7]
000037B6 2F3C 0000 7FFF move.l -[A7], 0x7FFF
000037BC 7021 moveq.l D0, 0x21
000037BE 3F00 move.w -[A7], D0
000037C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000037C4 4EBA F974 jsr [PC - 0x68C /* 0000313A */]
000037C8 4FEF 000E lea.l A7, [A7 + 0xE]
label000037CC:
000037CC 554F subq.w A7, 2
000037CE 244C movea.l A2, A4
000037D0 45EA 0164 lea.l A2, [A2 + 0x164]
000037D4 2F12 move.l -[A7], [A2]
000037D6 A962 syscall GetControlMaximum/GetMaxCtl
000037D8 301F move.w D0, [A7]+
000037DA 2640 movea.l A3, D0
000037DC 554F subq.w A7, 2
000037DE 2F12 move.l -[A7], [A2]
000037E0 A960 syscall GetControlValue/GetCtlValue
000037E2 321F move.w D1, [A7]+
000037E4 200B move.l D0, A3
000037E6 9041 sub.w D0, D1
000037E8 4440 neg.w D0
000037EA 3D40 FFFE move.w [A6 - 0x2], D0
000037EE 486E FFFE pea.l [A6 - 0x2]
000037F2 2F12 move.l -[A7], [A2]
000037F4 4EBA EF06 jsr [PC - 0x10FA /* 000026FC */]
000037F8 504F addq.w A7, 8
000037FA 302E FFFE move.w D0, [A6 - 0x2]
000037FE 6700 0172 beq +0x174 /* 00003972 */
00003802 3F2E FFFE move.w -[A7], [A6 - 0x2]
00003806 4267 clr.w -[A7]
00003808 2F0C move.l -[A7], A4
0000380A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000380E 4EBA EE66 jsr [PC - 0x119A /* 00002676 */]
00003812 4FEF 000C lea.l A7, [A7 + 0xC]
00003816 6000 015A bra +0x15C /* 00003972 */
label0000381A:
0000381A 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003820 4AAC 0164 tst.l [A4 + 0x164]
00003824 6700 0150 beq +0x152 /* 00003976 */
00003828 1F2E 0010 move.b -[A7], [A6 + 0x10]
0000382C 2F0C move.l -[A7], A4
0000382E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003832 4EBA FD0E jsr [PC - 0x2F2 /* 00003542 */]
00003836 4FEF 000A lea.l A7, [A7 + 0xA]
0000383A 422E FFF8 clr.b [A6 - 0x8]
0000383E 6000 0136 bra +0x138 /* 00003976 */
label00003842:
00003842 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003848 4AAC 0164 tst.l [A4 + 0x164]
0000384C 6700 0128 beq +0x12A /* 00003976 */
00003850 1F2E 0010 move.b -[A7], [A6 + 0x10]
00003854 2F0C move.l -[A7], A4
00003856 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000385A 4EBA FC34 jsr [PC - 0x3CC /* 00003490 */]
0000385E 4FEF 000A lea.l A7, [A7 + 0xA]
00003862 422E FFF8 clr.b [A6 - 0x8]
00003866 6000 010E bra +0x110 /* 00003976 */
label0000386A:
0000386A 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003870 4AAC 0164 tst.l [A4 + 0x164]
00003874 6700 0100 beq +0x102 /* 00003976 */
00003878 4AAC 0136 tst.l [A4 + 0x136]
0000387C 6600 00F8 bne +0xFA /* 00003976 */
00003880 206E 000C movea.l A0, [A6 + 0xC]
00003884 3028 000E move.w D0, [A0 + 0xE]
00003888 0240 0100 andi.w D0, 0x100
0000388C 6716 beq +0x18 /* 000038A4 */
0000388E 1F2E 0010 move.b -[A7], [A6 + 0x10]
00003892 2F0C move.l -[A7], A4
00003894 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003898 4EBA FCA8 jsr [PC - 0x358 /* 00003542 */]
0000389C 4FEF 000A lea.l A7, [A7 + 0xA]
000038A0 6000 00D0 bra +0xD2 /* 00003972 */
label000038A4:
000038A4 2F2C 0164 move.l -[A7], [A4 + 0x164]
000038A8 7014 moveq.l D0, 0x14
000038AA 3F00 move.w -[A7], D0
000038AC 4EBA EE9A jsr [PC - 0x1166 /* 00002748 */]
000038B0 6000 00C0 bra +0xC2 /* 00003972 */
label000038B4:
000038B4 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
000038BA 4AAC 0164 tst.l [A4 + 0x164]
000038BE 6700 00B6 beq +0xB8 /* 00003976 */
000038C2 4AAC 0136 tst.l [A4 + 0x136]
000038C6 6600 00AE bne +0xB0 /* 00003976 */
000038CA 206E 000C movea.l A0, [A6 + 0xC]
000038CE 3028 000E move.w D0, [A0 + 0xE]
000038D2 0240 0100 andi.w D0, 0x100
000038D6 6716 beq +0x18 /* 000038EE */
000038D8 1F2E 0010 move.b -[A7], [A6 + 0x10]
000038DC 2F0C move.l -[A7], A4
000038DE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000038E2 4EBA FBAC jsr [PC - 0x454 /* 00003490 */]
000038E6 4FEF 000A lea.l A7, [A7 + 0xA]
000038EA 6000 0086 bra +0x88 /* 00003972 */
label000038EE:
000038EE 2F2C 0164 move.l -[A7], [A4 + 0x164]
000038F2 7015 moveq.l D0, 0x15
000038F4 3F00 move.w -[A7], D0
000038F6 4EBA EE50 jsr [PC - 0x11B0 /* 00002748 */]
000038FA 6076 bra +0x78 /* 00003972 */
label000038FC:
000038FC 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00003902 246C 0160 movea.l A2, [A4 + 0x160]
00003906 200A move.l D0, A2
00003908 676C beq +0x6E /* 00003976 */
0000390A 4AAC 0136 tst.l [A4 + 0x136]
0000390E 6666 bne +0x68 /* 00003976 */
00003910 206E 000C movea.l A0, [A6 + 0xC]
00003914 3028 000E move.w D0, [A0 + 0xE]
00003918 0240 0100 andi.w D0, 0x100
0000391C 670C beq +0xE /* 0000392A */
0000391E 2F0A move.l -[A7], A2
00003920 7016 moveq.l D0, 0x16
00003922 3F00 move.w -[A7], D0
00003924 4EBA EF1C jsr [PC - 0x10E4 /* 00002842 */]
00003928 6048 bra +0x4A /* 00003972 */
label0000392A:
0000392A 2F2C 0160 move.l -[A7], [A4 + 0x160]
0000392E 7014 moveq.l D0, 0x14
00003930 3F00 move.w -[A7], D0
00003932 4EBA EF0E jsr [PC - 0x10F2 /* 00002842 */]
00003936 603A bra +0x3C /* 00003972 */
label00003938:
00003938 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
0000393E 246C 0160 movea.l A2, [A4 + 0x160]
00003942 200A move.l D0, A2
00003944 6730 beq +0x32 /* 00003976 */
00003946 4AAC 0136 tst.l [A4 + 0x136]
0000394A 662A bne +0x2C /* 00003976 */
0000394C 206E 000C movea.l A0, [A6 + 0xC]
00003950 3028 000E move.w D0, [A0 + 0xE]
00003954 0240 0100 andi.w D0, 0x100
00003958 670C beq +0xE /* 00003966 */
0000395A 2F0A move.l -[A7], A2
0000395C 7017 moveq.l D0, 0x17
0000395E 3F00 move.w -[A7], D0
00003960 4EBA EEE0 jsr [PC - 0x1120 /* 00002842 */]
00003964 600C bra +0xE /* 00003972 */
label00003966:
00003966 2F2C 0160 move.l -[A7], [A4 + 0x160]
0000396A 7015 moveq.l D0, 0x15
0000396C 3F00 move.w -[A7], D0
0000396E 4EBA EED2 jsr [PC - 0x112E /* 00002842 */]
label00003972:
00003972 422E FFF8 clr.b [A6 - 0x8]
label00003976:
00003976 102E FFF8 move.b D0, [A6 - 0x8]
0000397A 671C beq +0x1E /* 00003998 */
0000397C 1F2E FFF9 move.b -[A7], [A6 - 0x7]
00003980 2F2E 000C move.l -[A7], [A6 + 0xC]
00003984 2F0C move.l -[A7], A4
00003986 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000398A 206C 0136 movea.l A0, [A4 + 0x136]
0000398E 4E90 jsr [A0]
00003990 4FEF 000E lea.l A7, [A7 + 0xE]
00003994 3800 move.w D4, D0
00003996 601E bra +0x20 /* 000039B6 */
label00003998:
00003998 4A2C 00F3 tst.b [A4 + 0xF3]
0000399C 6618 bne +0x1A /* 000039B6 */
0000399E 206E 000C movea.l A0, [A6 + 0xC]
000039A2 3028 000E move.w D0, [A0 + 0xE]
000039A6 0240 0100 andi.w D0, 0x100
000039AA 660A bne +0xC /* 000039B6 */
000039AC 102E FFF9 move.b D0, [A6 - 0x7]
000039B0 6604 bne +0x6 /* 000039B6 */
000039B2 383C 00CD move.w D4, 0xCD
label000039B6:
000039B6 4A44 tst.w D4
000039B8 6716 beq +0x18 /* 000039D0 */
000039BA 0C44 0064 cmpi.w D4, 0x64 /* 'd' */
000039BE 6710 beq +0x12 /* 000039D0 */
000039C0 7001 moveq.l D0, 0x01
000039C2 3F00 move.w -[A7], D0
000039C4 7003 moveq.l D0, 0x03
000039C6 3F00 move.w -[A7], D0
000039C8 3F04 move.w -[A7], D4
000039CA 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000039CE 5C4F addq.w A7, 6
label000039D0:
000039D0 3004 move.w D0, D4
000039D2 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000039D6 4E5E unlink A6
000039D8 4E75 rts
fn000039DA:
000039DA 4E56 FFE8 link A6, -0x0018
000039DE 48E7 1038 movem.l -[A7], D3,A2,A3,A4
000039E2 286E 0008 movea.l A4, [A6 + 0x8]
000039E6 4243 clr.w D3
000039E8 422E FFEC clr.b [A6 - 0x14]
000039EC 200C move.l D0, A4
000039EE 6700 00F2 beq +0xF4 /* 00003AE2 */
000039F2 302C 006C move.w D0, [A4 + 0x6C]
000039F6 7208 moveq.l D1, 0x08
000039F8 B041 cmp.w D0, D1
000039FA 6706 beq +0x8 /* 00003A02 */
000039FC 1D7C 0001 FFEC move.b [A6 - 0x14], 0x1
label00003A02:
00003A02 2F0C move.l -[A7], A4
00003A04 A873 syscall SetPort
00003A06 102E FFEC move.b D0, [A6 - 0x14]
00003A0A 6626 bne +0x28 /* 00003A32 */
00003A0C 102D FD8D move.b D0, [A5 - 0x273]
00003A10 6720 beq +0x22 /* 00003A32 */
00003A12 486E FFE8 pea.l [A6 - 0x18]
00003A16 A972 syscall GetMouse
00003A18 486E FFE8 pea.l [A6 - 0x18]
00003A1C A870 syscall LocalToGlobal
00003A1E 554F subq.w A7, 2
00003A20 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00003A24 7006 moveq.l D0, 0x06
00003A26 AA54 syscall TextServicesDispatch
00003A28 101F move.b D0, [A7]+
00003A2A 6706 beq +0x8 /* 00003A32 */
00003A2C 1D7C 0001 FFEC move.b [A6 - 0x14], 0x1
label00003A32:
00003A32 102E FFEC move.b D0, [A6 - 0x14]
00003A36 6600 00A8 bne +0xAA /* 00003AE0 */
00003A3A 2F0C move.l -[A7], A4
00003A3C 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003A40 584F addq.w A7, 4
00003A42 2640 movea.l A3, D0
00003A44 594F subq.w A7, 4
00003A46 A8D8 syscall NewRgn
00003A48 201F move.l D0, [A7]+
00003A4A 2D40 FFF0 move.l [A6 - 0x10], D0
00003A4E 2F2D FD6A move.l -[A7], [A5 - 0x296]
00003A52 A8DD syscall SetEmptyRgn
00003A54 486E FFE8 pea.l [A6 - 0x18]
00003A58 A972 syscall GetMouse
00003A5A 2D6E FFE8 FFF4 move.l [A6 - 0xC], [A6 - 0x18]
00003A60 486E FFF4 pea.l [A6 - 0xC]
00003A64 A870 syscall LocalToGlobal
00003A66 2F2C 0076 move.l -[A7], [A4 + 0x76]
00003A6A 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00003A6E A8DC syscall CopyRgn
00003A70 200B move.l D0, A3
00003A72 6764 beq +0x66 /* 00003AD8 */
00003A74 554F subq.w A7, 2
00003A76 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003A7A 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00003A7E A8E8 syscall PtInRgn
00003A80 101F move.b D0, [A7]+
00003A82 6754 beq +0x56 /* 00003AD8 */
00003A84 554F subq.w A7, 2
00003A86 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00003A8A 204B movea.l A0, A3
00003A8C 41E8 0154 lea.l A0, [A0 + 0x154]
00003A90 2F08 move.l -[A7], A0
00003A92 A8AD syscall PtInRect
00003A94 101F move.b D0, [A7]+
00003A96 6740 beq +0x42 /* 00003AD8 */
00003A98 204B movea.l A0, A3
00003A9A 41E8 0154 lea.l A0, [A0 + 0x154]
00003A9E 43EE FFF8 lea.l A1, [A6 - 0x8]
00003AA2 22D8 move.l [A1]+, [A0]+
00003AA4 22D8 move.l [A1]+, [A0]+
00003AA6 486E FFF8 pea.l [A6 - 0x8]
00003AAA A870 syscall LocalToGlobal
00003AAC 486E FFFC pea.l [A6 - 0x4]
00003AB0 A870 syscall LocalToGlobal
00003AB2 2F2D FD6A move.l -[A7], [A5 - 0x296]
00003AB6 486E FFF8 pea.l [A6 - 0x8]
00003ABA A8DF syscall RectRgn
00003ABC 246B 010E movea.l A2, [A3 + 0x10E]
00003AC0 200A move.l D0, A2
00003AC2 6714 beq +0x16 /* 00003AD8 */
00003AC4 2F2D FD6A move.l -[A7], [A5 - 0x296]
00003AC8 486E FFE8 pea.l [A6 - 0x18]
00003ACC 2F0B move.l -[A7], A3
00003ACE 2F0C move.l -[A7], A4
00003AD0 4E92 jsr [A2]
00003AD2 4FEF 0010 lea.l A7, [A7 + 0x10]
00003AD6 3600 move.w D3, D0
label00003AD8:
00003AD8 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00003ADC A8D9 syscall DisposRgn/DisposeRgn
00003ADE 6002 bra +0x4 /* 00003AE2 */
label00003AE0:
00003AE0 7664 moveq.l D3, 0x64
label00003AE2:
00003AE2 0C43 0064 cmpi.w D3, 0x64 /* 'd' */
00003AE6 6706 beq +0x8 /* 00003AEE */
00003AE8 486D FCA2 pea.l [A5 - 0x35E]
00003AEC A851 syscall SetCursor
label00003AEE:
00003AEE 3003 move.w D0, D3
00003AF0 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00003AF4 4E5E unlink A6
00003AF6 4E75 rts
fn00003AF8:
00003AF8 4E56 0000 link A6, 0
00003AFC 48E7 0C30 movem.l -[A7], D4,D5,A2,A3
00003B00 246E 0008 movea.l A2, [A6 + 0x8]
00003B04 2A3C 0000 4650 move.l D5, 0x4650 /* 'FP' */
00003B0A 6034 bra +0x36 /* 00003B40 */
label00003B0C:
00003B0C 2F0A move.l -[A7], A2
00003B0E 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003B12 584F addq.w A7, 4
00003B14 2640 movea.l A3, D0
00003B16 200B move.l D0, A3
00003B18 6716 beq +0x18 /* 00003B30 */
00003B1A 4AAB 0146 tst.l [A3 + 0x146]
00003B1E 6710 beq +0x12 /* 00003B30 */
00003B20 2F0B move.l -[A7], A3
00003B22 2F0A move.l -[A7], A2
00003B24 206B 0146 movea.l A0, [A3 + 0x146]
00003B28 4E90 jsr [A0]
00003B2A 504F addq.w A7, 8
00003B2C 2800 move.l D4, D0
00003B2E 6006 bra +0x8 /* 00003B36 */
label00003B30:
00003B30 283C 0000 4650 move.l D4, 0x4650 /* 'FP' */
label00003B36:
00003B36 B885 cmp.l D4, D5
00003B38 6C02 bge +0x4 /* 00003B3C */
00003B3A 2A04 move.l D5, D4
label00003B3C:
00003B3C 246A 0090 movea.l A2, [A2 + 0x90]
label00003B40:
00003B40 200A move.l D0, A2
00003B42 66C8 bne -0x36 /* 00003B0C */
00003B44 2005 move.l D0, D5
00003B46 4CDF 0C30 movem.l D4,D5,A2,A3, [A7]+
00003B4A 4E5E unlink A6
00003B4C 4E75 rts
export_19:
fn00003B4E:
00003B4E 4E56 FFF4 link A6, -0x000C
00003B52 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00003B56 266E 0008 movea.l A3, [A6 + 0x8]
00003B5A 594F subq.w A7, 4
00003B5C A924 syscall FrontWindow
00003B5E 201F move.l D0, [A7]+
00003B60 2D40 FFF4 move.l [A6 - 0xC], D0
00003B64 3213 move.w D1, [A3]
00003B66 7000 moveq.l D0, 0x00
00003B68 3001 move.w D0, D1
00003B6A 7217 moveq.l D1, 0x17
00003B6C B081 cmp.l D0, D1
00003B6E 6742 beq +0x44 /* 00003BB2 */
00003B70 720F moveq.l D1, 0x0F
00003B72 B081 cmp.l D0, D1
00003B74 674C beq +0x4E /* 00003BC2 */
00003B76 7208 moveq.l D1, 0x08
00003B78 B081 cmp.l D0, D1
00003B7A 6700 00EE beq +0xF0 /* 00003C6A */
00003B7E 7207 moveq.l D1, 0x07
00003B80 B081 cmp.l D0, D1
00003B82 6700 010C beq +0x10E /* 00003C90 */
00003B86 7202 moveq.l D1, 0x02
00003B88 B081 cmp.l D0, D1
00003B8A 6700 034E beq +0x350 /* 00003EDA */
00003B8E 7201 moveq.l D1, 0x01
00003B90 B081 cmp.l D0, D1
00003B92 6700 0130 beq +0x132 /* 00003CC4 */
00003B96 7203 moveq.l D1, 0x03
00003B98 B081 cmp.l D0, D1
00003B9A 6700 031A beq +0x31C /* 00003EB6 */
00003B9E 7205 moveq.l D1, 0x05
00003BA0 B081 cmp.l D0, D1
00003BA2 6700 0312 beq +0x314 /* 00003EB6 */
00003BA6 7206 moveq.l D1, 0x06
00003BA8 B081 cmp.l D0, D1
00003BAA 6700 031E beq +0x320 /* 00003ECA */
00003BAE 6000 032A bra +0x32C /* 00003EDA */
label00003BB2:
00003BB2 554F subq.w A7, 2
00003BB4 2F0B move.l -[A7], A3
00003BB6 303C 021B move.w D0, 0x21B
00003BBA A816 syscall Pack8
00003BBC 544F addq.w A7, 2
00003BBE 6000 031A bra +0x31C /* 00003EDA */
label00003BC2:
00003BC2 262B 0002 move.l D3, [A3 + 0x2]
00003BC6 2D43 FFFC move.l [A6 - 0x4], D3
00003BCA 7018 moveq.l D0, 0x18
00003BCC E0AB lsr D3, D0
00003BCE 0283 0000 00FF andi.l D3, 0xFF
00003BD4 0C83 0000 00FA cmpi.l D3, 0xFA
00003BDA 670A beq +0xC /* 00003BE6 */
00003BDC 7001 moveq.l D0, 0x01
00003BDE B680 cmp.l D3, D0
00003BE0 6712 beq +0x14 /* 00003BF4 */
00003BE2 6000 02F6 bra +0x2F8 /* 00003EDA */
label00003BE6:
00003BE6 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003BEA 4EBA FDEE jsr [PC - 0x212 /* 000039DA */]
00003BEE 584F addq.w A7, 4
00003BF0 6000 02E8 bra +0x2EA /* 00003EDA */
label00003BF4:
00003BF4 202E FFFC move.l D0, [A6 - 0x4]
00003BF8 7201 moveq.l D1, 0x01
00003BFA C041 and.w D0, D1
00003BFC 57C0 seq D0
00003BFE 4400 neg.b D0
00003C00 4880 ext.w D0
00003C02 48C0 ext.l D0
00003C04 1B40 FD80 move.b [A5 - 0x280], D0
00003C08 222E FFF4 move.l D1, [A6 - 0xC]
00003C0C 6716 beq +0x18 /* 00003C24 */
00003C0E 4A00 tst.b D0
00003C10 57C0 seq D0
00003C12 4400 neg.b D0
00003C14 4880 ext.w D0
00003C16 48C0 ext.l D0
00003C18 1F00 move.b -[A7], D0
00003C1A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003C1E 4EBA F32A jsr [PC - 0xCD6 /* 00002F4A */]
00003C22 5C4F addq.w A7, 6
label00003C24:
00003C24 102D FD8C move.b D0, [A5 - 0x274]
00003C28 6700 02B0 beq +0x2B2 /* 00003EDA */
00003C2C 102D FD80 move.b D0, [A5 - 0x280]
00003C30 6600 02A8 bne +0x2AA /* 00003EDA */
00003C34 246E FFF4 movea.l A2, [A6 - 0xC]
00003C38 6028 bra +0x2A /* 00003C62 */
label00003C3A:
00003C3A 2F0A move.l -[A7], A2
00003C3C 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003C40 584F addq.w A7, 4
00003C42 2640 movea.l A3, D0
00003C44 200B move.l D0, A3
00003C46 6716 beq +0x18 /* 00003C5E */
00003C48 286B 014E movea.l A4, [A3 + 0x14E]
00003C4C 200C move.l D0, A4
00003C4E 670E beq +0x10 /* 00003C5E */
00003C50 554F subq.w A7, 2
00003C52 2F0C move.l -[A7], A4
00003C54 203C 0000 0025 move.l D0, 0x25 /* '%' */
00003C5A ABFE syscall GXPrinting
00003C5C 544F addq.w A7, 2
label00003C5E:
00003C5E 246A 0090 movea.l A2, [A2 + 0x90]
label00003C62:
00003C62 200A move.l D0, A2
00003C64 6700 0274 beq +0x276 /* 00003EDA */
00003C68 60D0 bra -0x2E /* 00003C3A */
label00003C6A:
00003C6A 202B 0002 move.l D0, [A3 + 0x2]
00003C6E 2D40 FFF4 move.l [A6 - 0xC], D0
00003C72 322B 000E move.w D1, [A3 + 0xE]
00003C76 7401 moveq.l D2, 0x01
00003C78 C242 and.w D1, D2
00003C7A 56C1 sne D1
00003C7C 4401 neg.b D1
00003C7E 4881 ext.w D1
00003C80 48C1 ext.l D1
00003C82 1F01 move.b -[A7], D1
00003C84 2F00 move.l -[A7], D0
00003C86 4EBA F2C2 jsr [PC - 0xD3E /* 00002F4A */]
00003C8A 5C4F addq.w A7, 6
00003C8C 6000 024C bra +0x24E /* 00003EDA */
label00003C90:
00003C90 202B 0002 move.l D0, [A3 + 0x2]
00003C94 7210 moveq.l D1, 0x10
00003C96 E2A0 asr D0, D1
00003C98 4A40 tst.w D0
00003C9A 6700 023E beq +0x240 /* 00003EDA */
00003C9E 486E FFF8 pea.l [A6 - 0x8]
00003CA2 7046 moveq.l D0, 0x46
00003CA4 3F00 move.w -[A7], D0
00003CA6 7032 moveq.l D0, 0x32
00003CA8 3F00 move.w -[A7], D0
00003CAA A880 syscall SetPt
00003CAC A853 syscall ShowCursor
00003CAE 554F subq.w A7, 2
00003CB0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003CB4 2F2B 0002 move.l -[A7], [A3 + 0x2]
00003CB8 7000 moveq.l D0, 0x00
00003CBA 3F00 move.w -[A7], D0
00003CBC A9E9 syscall Pack2
00003CBE 544F addq.w A7, 2
00003CC0 6000 0218 bra +0x21A /* 00003EDA */
label00003CC4:
00003CC4 554F subq.w A7, 2
00003CC6 2F2B 000A move.l -[A7], [A3 + 0xA]
00003CCA 486E FFF4 pea.l [A6 - 0xC]
00003CCE A92C syscall FindWindow
00003CD0 361F move.w D3, [A7]+
00003CD2 3003 move.w D0, D3
00003CD4 3200 move.w D1, D0
00003CD6 48C1 ext.l D1
00003CD8 7003 moveq.l D0, 0x03
00003CDA B280 cmp.l D1, D0
00003CDC 6736 beq +0x38 /* 00003D14 */
00003CDE 7006 moveq.l D0, 0x06
00003CE0 B280 cmp.l D1, D0
00003CE2 6754 beq +0x56 /* 00003D38 */
00003CE4 7005 moveq.l D0, 0x05
00003CE6 B280 cmp.l D1, D0
00003CE8 6778 beq +0x7A /* 00003D62 */
00003CEA 7007 moveq.l D0, 0x07
00003CEC B280 cmp.l D1, D0
00003CEE 6700 0082 beq +0x84 /* 00003D72 */
00003CF2 7008 moveq.l D0, 0x08
00003CF4 B280 cmp.l D1, D0
00003CF6 677A beq +0x7C /* 00003D72 */
00003CF8 7004 moveq.l D0, 0x04
00003CFA B280 cmp.l D1, D0
00003CFC 6700 0098 beq +0x9A /* 00003D96 */
00003D00 7001 moveq.l D0, 0x01
00003D02 B280 cmp.l D1, D0
00003D04 6700 00D4 beq +0xD6 /* 00003DDA */
00003D08 7002 moveq.l D0, 0x02
00003D0A B280 cmp.l D1, D0
00003D0C 6700 019E beq +0x1A0 /* 00003EAC */
00003D10 6000 01C8 bra +0x1CA /* 00003EDA */
label00003D14:
00003D14 594F subq.w A7, 4
00003D16 A924 syscall FrontWindow
00003D18 205F movea.l A0, [A7]+
00003D1A 246E FFF4 movea.l A2, [A6 - 0xC]
00003D1E B1CA cmpa.l A0, A2
00003D20 6708 beq +0xA /* 00003D2A */
00003D22 2F0A move.l -[A7], A2
00003D24 A91F syscall SelectWindow
00003D26 6000 01B2 bra +0x1B4 /* 00003EDA */
label00003D2A:
00003D2A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D2E 4EBA EBC0 jsr [PC - 0x1440 /* 000028F0 */]
00003D32 584F addq.w A7, 4
00003D34 6000 01A4 bra +0x1A6 /* 00003EDA */
label00003D38:
00003D38 554F subq.w A7, 2
00003D3A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D3E 2F2B 000A move.l -[A7], [A3 + 0xA]
00003D42 A91E syscall TrackGoAway
00003D44 101F move.b D0, [A7]+
00003D46 6700 0192 beq +0x194 /* 00003EDA */
00003D4A 42A7 clr.l -[A7]
00003D4C 42A7 clr.l -[A7]
00003D4E 700C moveq.l D0, 0x0C
00003D50 3F00 move.w -[A7], D0
00003D52 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D56 4EBA F3E2 jsr [PC - 0xC1E /* 0000313A */]
00003D5A 4FEF 000E lea.l A7, [A7 + 0xE]
00003D5E 6000 017A bra +0x17C /* 00003EDA */
label00003D62:
00003D62 2F0B move.l -[A7], A3
00003D64 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D68 4EBA ECA2 jsr [PC - 0x135E /* 00002A0C */]
00003D6C 504F addq.w A7, 8
00003D6E 6000 016A bra +0x16C /* 00003EDA */
label00003D72:
00003D72 554F subq.w A7, 2
00003D74 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D78 2F2B 000A move.l -[A7], [A3 + 0xA]
00003D7C 3F03 move.w -[A7], D3
00003D7E A83B syscall TrackBox
00003D80 101F move.b D0, [A7]+
00003D82 6700 0156 beq +0x158 /* 00003EDA */
00003D86 3F03 move.w -[A7], D3
00003D88 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D8C 4EBA EE7A jsr [PC - 0x1186 /* 00002C08 */]
00003D90 5C4F addq.w A7, 6
00003D92 6000 0146 bra +0x148 /* 00003EDA */
label00003D96:
00003D96 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003D9A 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003D9E 584F addq.w A7, 4
00003DA0 2440 movea.l A2, D0
00003DA2 200A move.l D0, A2
00003DA4 6722 beq +0x24 /* 00003DC8 */
00003DA6 4A2A 00F4 tst.b [A2 + 0xF4]
00003DAA 671C beq +0x1E /* 00003DC8 */
00003DAC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003DB0 2F2B 000A move.l -[A7], [A3 + 0xA]
00003DB4 486D FC9A pea.l [A5 - 0x366]
00003DB8 42A7 clr.l -[A7]
00003DBA 42A7 clr.l -[A7]
00003DBC 203C 0014 004E move.l D0, 0x14004E
00003DC2 AAA3 syscall CodecDispatch
00003DC4 6000 0114 bra +0x116 /* 00003EDA */
label00003DC8:
00003DC8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003DCC 2F2B 000A move.l -[A7], [A3 + 0xA]
00003DD0 486D FC9A pea.l [A5 - 0x366]
00003DD4 A925 syscall DragWindow
00003DD6 6000 0102 bra +0x104 /* 00003EDA */
label00003DDA:
00003DDA 4EBA 0EEE jsr [PC + 0xEEE /* 00004CCA */]
00003DDE 202D FD20 move.l D0, [A5 - 0x2E0]
00003DE2 6728 beq +0x2A /* 00003E0C */
00003DE4 1B7C 0001 FD16 move.b [A5 - 0x2EA], 0x1
00003DEA 554F subq.w A7, 2
00003DEC 2F2D FD20 move.l -[A7], [A5 - 0x2E0]
00003DF0 4267 clr.w -[A7]
00003DF2 2F2D FD20 move.l -[A7], [A5 - 0x2E0]
00003DF6 303C 0508 move.w D0, 0x508
00003DFA ABF2 syscall ThreadDispatch
00003DFC 2F2D FD20 move.l -[A7], [A5 - 0x2E0]
00003E00 303C 0205 move.w D0, 0x205
00003E04 ABF2 syscall ThreadDispatch
00003E06 544F addq.w A7, 2
00003E08 422D FD16 clr.b [A5 - 0x2EA]
label00003E0C:
00003E0C 202D FD1C move.l D0, [A5 - 0x2E4]
00003E10 6728 beq +0x2A /* 00003E3A */
00003E12 1B7C 0001 FD16 move.b [A5 - 0x2EA], 0x1
00003E18 554F subq.w A7, 2
00003E1A 2F2D FD1C move.l -[A7], [A5 - 0x2E4]
00003E1E 4267 clr.w -[A7]
00003E20 2F2D FD1C move.l -[A7], [A5 - 0x2E4]
00003E24 303C 0508 move.w D0, 0x508
00003E28 ABF2 syscall ThreadDispatch
00003E2A 2F2D FD1C move.l -[A7], [A5 - 0x2E4]
00003E2E 303C 0205 move.w D0, 0x205
00003E32 ABF2 syscall ThreadDispatch
00003E34 544F addq.w A7, 2
00003E36 422D FD16 clr.b [A5 - 0x2EA]
label00003E3A:
00003E3A 594F subq.w A7, 4
00003E3C A924 syscall FrontWindow
00003E3E 201F move.l D0, [A7]+
00003E40 2D40 FFF4 move.l [A6 - 0xC], D0
00003E44 2F00 move.l -[A7], D0
00003E46 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003E4A 584F addq.w A7, 4
00003E4C 2440 movea.l A2, D0
00003E4E 200A move.l D0, A2
00003E50 6714 beq +0x16 /* 00003E66 */
00003E52 4AAA 012E tst.l [A2 + 0x12E]
00003E56 670E beq +0x10 /* 00003E66 */
00003E58 2F0A move.l -[A7], A2
00003E5A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003E5E 206A 012E movea.l A0, [A2 + 0x12E]
00003E62 4E90 jsr [A0]
00003E64 504F addq.w A7, 8
label00003E66:
00003E66 4227 clr.b -[A7]
00003E68 7001 moveq.l D0, 0x01
00003E6A 1F00 move.b -[A7], D0
00003E6C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003E70 4EBA DC3A jsr [PC - 0x23C6 /* 00001AAC */]
00003E74 504F addq.w A7, 8
00003E76 A850 syscall InitCursor
00003E78 594F subq.w A7, 4
00003E7A 2F2B 000A move.l -[A7], [A3 + 0xA]
00003E7E A93D syscall MenuSelect
00003E80 261F move.l D3, [A7]+
00003E82 102D FD8D move.b D0, [A5 - 0x273]
00003E86 6712 beq +0x14 /* 00003E9A */
00003E88 554F subq.w A7, 2
00003E8A 2F03 move.l -[A7], D3
00003E8C 7005 moveq.l D0, 0x05
00003E8E AA54 syscall TextServicesDispatch
00003E90 101F move.b D0, [A7]+
00003E92 6706 beq +0x8 /* 00003E9A */
00003E94 4267 clr.w -[A7]
00003E96 A938 syscall HiliteMenu
00003E98 6040 bra +0x42 /* 00003EDA */
label00003E9A:
00003E9A 42A7 clr.l -[A7]
00003E9C 2F03 move.l -[A7], D3
00003E9E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003EA2 4EBA F518 jsr [PC - 0xAE8 /* 000033BC */]
00003EA6 4FEF 000C lea.l A7, [A7 + 0xC]
00003EAA 602E bra +0x30 /* 00003EDA */
label00003EAC:
00003EAC 2F0B move.l -[A7], A3
00003EAE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003EB2 A9B3 syscall SystemClick
00003EB4 6024 bra +0x26 /* 00003EDA */
label00003EB6:
00003EB6 7001 moveq.l D0, 0x01
00003EB8 1F00 move.b -[A7], D0
00003EBA 2F0B move.l -[A7], A3
00003EBC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003EC0 4EBA F748 jsr [PC - 0x8B8 /* 0000360A */]
00003EC4 4FEF 000A lea.l A7, [A7 + 0xA]
00003EC8 6010 bra +0x12 /* 00003EDA */
label00003ECA:
00003ECA 202B 0002 move.l D0, [A3 + 0x2]
00003ECE 2D40 FFF4 move.l [A6 - 0xC], D0
00003ED2 2F00 move.l -[A7], D0
00003ED4 4EBA E750 jsr [PC - 0x18B0 /* 00002626 */]
00003ED8 584F addq.w A7, 4
label00003EDA:
00003EDA 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00003EDE 4E5E unlink A6
00003EE0 4E75 rts
fn00003EE2:
00003EE2 4E56 FEDC link A6, -0x0124
00003EE6 48E7 1038 movem.l -[A7], D3,A2,A3,A4
label00003EEA:
00003EEA 247C 0000 09D6 movea.l A2, 0x9D6
00003EF0 2012 move.l D0, [A2]
00003EF2 2D40 FEE0 move.l [A6 - 0x120], D0
00003EF6 554F subq.w A7, 2
00003EF8 3F3C FFFF move.w -[A7], 0xFFFF
00003EFC 486D FD98 pea.l [A5 - 0x268]
00003F00 2F00 move.l -[A7], D0
00003F02 4EBA FBF4 jsr [PC - 0x40C /* 00003AF8 */]
00003F06 584F addq.w A7, 4
00003F08 2F00 move.l -[A7], D0
00003F0A 2F2D FD6A move.l -[A7], [A5 - 0x296]
00003F0E A860 syscall WaitNextEvent
00003F10 101F move.b D0, [A7]+
00003F12 1D40 FEDC move.b [A6 - 0x124], D0
00003F16 1D40 FEDD move.b [A6 - 0x123], D0
00003F1A 2012 move.l D0, [A2]
00003F1C 2D40 FEE0 move.l [A6 - 0x120], D0
00003F20 102D FD8D move.b D0, [A5 - 0x273]
00003F24 6700 02C4 beq +0x2C6 /* 000041EA */
00003F28 594F subq.w A7, 4
00003F2A A924 syscall FrontWindow
00003F2C 245F movea.l A2, [A7]+
00003F2E 200A move.l D0, A2
00003F30 6744 beq +0x46 /* 00003F76 */
00003F32 2F0A move.l -[A7], A2
00003F34 A873 syscall SetPort
00003F36 594F subq.w A7, 4
00003F38 7016 moveq.l D0, 0x16
00003F3A 3F00 move.w -[A7], D0
00003F3C 2F3C 8402 0008 move.l -[A7], 0x84020008
00003F42 A8B5 syscall ScriptUtil
00003F44 201F move.l D0, [A7]+
00003F46 3600 move.w D3, D0
00003F48 554F subq.w A7, 2
00003F4A 206D FD0E movea.l A0, [A5 - 0x2F2]
00003F4E 3F28 0044 move.w -[A7], [A0 + 0x44]
00003F52 2F3C 8202 0006 move.l -[A7], 0x82020006
00003F58 A8B5 syscall ScriptUtil
00003F5A 301F move.w D0, [A7]+
00003F5C B043 cmp.w D0, D3
00003F5E 6716 beq +0x18 /* 00003F76 */
00003F60 594F subq.w A7, 4
00003F62 3F03 move.w -[A7], D3
00003F64 700E moveq.l D0, 0x0E
00003F66 3F00 move.w -[A7], D0
00003F68 2F3C 8404 000C move.l -[A7], 0x8404000C
00003F6E A8B5 syscall ScriptUtil
00003F70 201F move.l D0, [A7]+
00003F72 3F00 move.w -[A7], D0
00003F74 A887 syscall TextFont
label00003F76:
00003F76 554F subq.w A7, 2
00003F78 486D FD98 pea.l [A5 - 0x268]
00003F7C 7004 moveq.l D0, 0x04
00003F7E AA54 syscall TextServicesDispatch
00003F80 101F move.b D0, [A7]+
00003F82 6700 0266 beq +0x268 /* 000041EA */
00003F86 422E FEDC clr.b [A6 - 0x124]
00003F8A 6000 025E bra +0x260 /* 000041EA */
label00003F8E:
00003F8E 2F2E FEE0 move.l -[A7], [A6 - 0x120]
00003F92 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00003F96 584F addq.w A7, 4
00003F98 2840 movea.l A4, D0
00003F9A 422E FEE4 clr.b [A6 - 0x11C]
00003F9E 594F subq.w A7, 4
00003FA0 A924 syscall FrontWindow
00003FA2 205F movea.l A0, [A7]+
00003FA4 B1EE FEE0 cmpa.l A0, [A6 - 0x120]
00003FA8 6600 0202 bne +0x204 /* 000041AC */
00003FAC 200C move.l D0, A4
00003FAE 6700 01FC beq +0x1FE /* 000041AC */
00003FB2 102D FD80 move.b D0, [A5 - 0x280]
00003FB6 6600 01F4 bne +0x1F6 /* 000041AC */
00003FBA 554F subq.w A7, 2
00003FBC 303C 0003 move.w D0, 0x3
00003FC0 A830 syscall Pack14
00003FC2 101F move.b D0, [A7]+
00003FC4 6700 01E6 beq +0x1E8 /* 000041AC */
00003FC8 4240 clr.w D0
00003FCA 3D40 FEF0 move.w [A6 - 0x110], D0
00003FCE 2F2E FEE0 move.l -[A7], [A6 - 0x120]
00003FD2 A873 syscall SetPort
00003FD4 486E FEE8 pea.l [A6 - 0x118]
00003FD8 A972 syscall GetMouse
00003FDA 554F subq.w A7, 2
00003FDC 2F2E FEE8 move.l -[A7], [A6 - 0x118]
00003FE0 206E FEE0 movea.l A0, [A6 - 0x120]
00003FE4 7010 moveq.l D0, 0x10
00003FE6 D1C0 add.l A0, D0
00003FE8 2F08 move.l -[A7], A0
00003FEA A8AD syscall PtInRect
00003FEC 101F move.b D0, [A7]+
00003FEE 6700 01BC beq +0x1BE /* 000041AC */
00003FF2 244C movea.l A2, A4
00003FF4 45EA 0164 lea.l A2, [A2 + 0x164]
00003FF8 2652 movea.l A3, [A2]
00003FFA 200B move.l D0, A3
00003FFC 6754 beq +0x56 /* 00004052 */
00003FFE 2053 movea.l A0, [A3]
00004000 5048 addq.w A0, 8
00004002 43EE FEF4 lea.l A1, [A6 - 0x10C]
00004006 22D8 move.l [A1]+, [A0]+
00004008 22D8 move.l [A1]+, [A0]+
0000400A 554F subq.w A7, 2
0000400C 2F2E FEE8 move.l -[A7], [A6 - 0x118]
00004010 486E FEF4 pea.l [A6 - 0x10C]
00004014 A8AD syscall PtInRect
00004016 101F move.b D0, [A7]+
00004018 6738 beq +0x3A /* 00004052 */
0000401A 7001 moveq.l D0, 0x01
0000401C 3D40 FEF0 move.w [A6 - 0x110], D0
00004020 554F subq.w A7, 2
00004022 2F12 move.l -[A7], [A2]
00004024 A961 syscall GetControlMinimum/GetMinCtl
00004026 301F move.w D0, [A7]+
00004028 2640 movea.l A3, D0
0000402A 554F subq.w A7, 2
0000402C 2F12 move.l -[A7], [A2]
0000402E A962 syscall GetControlMaximum/GetMaxCtl
00004030 321F move.w D1, [A7]+
00004032 200B move.l D0, A3
00004034 B041 cmp.w D0, D1
00004036 6606 bne +0x8 /* 0000403E */
00004038 7003 moveq.l D0, 0x03
0000403A 3D40 FEF0 move.w [A6 - 0x110], D0
label0000403E:
0000403E 302E FEFA move.w D0, [A6 - 0x106]
00004042 5F40 subq.w D0, 7
00004044 3D40 FEEE move.w [A6 - 0x112], D0
00004048 302E FEF8 move.w D0, [A6 - 0x108]
0000404C 5F40 subq.w D0, 7
0000404E 3D40 FEEC move.w [A6 - 0x114], D0
label00004052:
00004052 244C movea.l A2, A4
00004054 45EA 0160 lea.l A2, [A2 + 0x160]
00004058 2652 movea.l A3, [A2]
0000405A 200B move.l D0, A3
0000405C 6754 beq +0x56 /* 000040B2 */
0000405E 2053 movea.l A0, [A3]
00004060 5048 addq.w A0, 8
00004062 43EE FEF4 lea.l A1, [A6 - 0x10C]
00004066 22D8 move.l [A1]+, [A0]+
00004068 22D8 move.l [A1]+, [A0]+
0000406A 554F subq.w A7, 2
0000406C 2F2E FEE8 move.l -[A7], [A6 - 0x118]
00004070 486E FEF4 pea.l [A6 - 0x10C]
00004074 A8AD syscall PtInRect
00004076 101F move.b D0, [A7]+
00004078 6738 beq +0x3A /* 000040B2 */
0000407A 7001 moveq.l D0, 0x01
0000407C 3D40 FEF0 move.w [A6 - 0x110], D0
00004080 554F subq.w A7, 2
00004082 2F12 move.l -[A7], [A2]
00004084 A961 syscall GetControlMinimum/GetMinCtl
00004086 301F move.w D0, [A7]+
00004088 2640 movea.l A3, D0
0000408A 554F subq.w A7, 2
0000408C 2F12 move.l -[A7], [A2]
0000408E A962 syscall GetControlMaximum/GetMaxCtl
00004090 321F move.w D1, [A7]+
00004092 200B move.l D0, A3
00004094 B041 cmp.w D0, D1
00004096 6606 bne +0x8 /* 0000409E */
00004098 7002 moveq.l D0, 0x02
0000409A 3D40 FEF0 move.w [A6 - 0x110], D0
label0000409E:
0000409E 302E FEFA move.w D0, [A6 - 0x106]
000040A2 5F40 subq.w D0, 7
000040A4 3D40 FEEE move.w [A6 - 0x112], D0
000040A8 302E FEF8 move.w D0, [A6 - 0x108]
000040AC 5F40 subq.w D0, 7
000040AE 3D40 FEEC move.w [A6 - 0x114], D0
label000040B2:
000040B2 4A2C 0152 tst.b [A4 + 0x152]
000040B6 6734 beq +0x36 /* 000040EC */
000040B8 486E FEF4 pea.l [A6 - 0x10C]
000040BC 2F0C move.l -[A7], A4
000040BE 4EBA D2B6 jsr [PC - 0x2D4A /* 00001376 */]
000040C2 5C4F addq.w A7, 6
000040C4 2F2E FEE8 move.l -[A7], [A6 - 0x118]
000040C8 486E FEF4 pea.l [A6 - 0x10C]
000040CC A8AD syscall PtInRect
000040CE 101F move.b D0, [A7]+
000040D0 671A beq +0x1C /* 000040EC */
000040D2 7004 moveq.l D0, 0x04
000040D4 3D40 FEF0 move.w [A6 - 0x110], D0
000040D8 302E FEFA move.w D0, [A6 - 0x106]
000040DC 5F40 subq.w D0, 7
000040DE 3D40 FEEE move.w [A6 - 0x112], D0
000040E2 302E FEF8 move.w D0, [A6 - 0x108]
000040E6 5F40 subq.w D0, 7
000040E8 3D40 FEEC move.w [A6 - 0x114], D0
label000040EC:
000040EC 302E FEF0 move.w D0, [A6 - 0x110]
000040F0 664A bne +0x4C /* 0000413C */
000040F2 7005 moveq.l D0, 0x05
000040F4 3D40 FEF0 move.w [A6 - 0x110], D0
000040F8 244C movea.l A2, A4
000040FA 45EA 0154 lea.l A2, [A2 + 0x154]
000040FE 41EE FEF4 lea.l A0, [A6 - 0x10C]
00004102 20DA move.l [A0]+, [A2]+
00004104 20DA move.l [A0]+, [A2]+
00004106 246C 0112 movea.l A2, [A4 + 0x112]
0000410A 200A move.l D0, A2
0000410C 6718 beq +0x1A /* 00004126 */
0000410E 486E FEF4 pea.l [A6 - 0x10C]
00004112 486E FEF0 pea.l [A6 - 0x110]
00004116 486E FEE8 pea.l [A6 - 0x118]
0000411A 2F0C move.l -[A7], A4
0000411C 2F2E FEE0 move.l -[A7], [A6 - 0x120]
00004120 4E92 jsr [A2]
00004122 4FEF 0014 lea.l A7, [A7 + 0x14]
label00004126:
00004126 302E FEF6 move.w D0, [A6 - 0x10A]
0000412A 7614 moveq.l D3, 0x14
0000412C D043 add.w D0, D3
0000412E 3D40 FEEE move.w [A6 - 0x112], D0
00004132 302E FEF4 move.w D0, [A6 - 0x10C]
00004136 D043 add.w D0, D3
00004138 3D40 FEEC move.w [A6 - 0x114], D0
label0000413C:
0000413C 302E FEF0 move.w D0, [A6 - 0x110]
00004140 6760 beq +0x62 /* 000041A2 */
00004142 302D FD86 move.w D0, [A5 - 0x27A]
00004146 B06E FEF0 cmp.w D0, [A6 - 0x110]
0000414A 660C bne +0xE /* 00004158 */
0000414C 554F subq.w A7, 2
0000414E 303C 0007 move.w D0, 0x7
00004152 A830 syscall Pack14
00004154 101F move.b D0, [A7]+
00004156 6654 bne +0x56 /* 000041AC */
label00004158:
00004158 362E FEF0 move.w D3, [A6 - 0x110]
0000415C 70FF moveq.l D0, 0xFFFFFFFF
0000415E B640 cmp.w D3, D0
00004160 6738 beq +0x3A /* 0000419A */
00004162 7001 moveq.l D0, 0x01
00004164 3D40 FEFC move.w [A6 - 0x104], D0
00004168 486E FEFE pea.l [A6 - 0x102]
0000416C 3F3C 07D0 move.w -[A7], 0x7D0
00004170 3F03 move.w -[A7], D3
00004172 4EBA 1D0C jsr [PC + 0x1D0C /* 00005E80 */]
00004176 486E FEEC pea.l [A6 - 0x114]
0000417A A870 syscall LocalToGlobal
0000417C 554F subq.w A7, 2
0000417E 486E FEFC pea.l [A6 - 0x104]
00004182 2F2E FEEC move.l -[A7], [A6 - 0x114]
00004186 42A7 clr.l -[A7]
00004188 42A7 clr.l -[A7]
0000418A 4267 clr.w -[A7]
0000418C 7002 moveq.l D0, 0x02
0000418E 3F00 move.w -[A7], D0
00004190 4267 clr.w -[A7]
00004192 303C 0B01 move.w D0, 0xB01
00004196 A830 syscall Pack14
00004198 544F addq.w A7, 2
label0000419A:
0000419A 3B6E FEF0 FD86 move.w [A5 - 0x27A], [A6 - 0x110]
000041A0 600A bra +0xC /* 000041AC */
label000041A2:
000041A2 554F subq.w A7, 2
000041A4 303C 0002 move.w D0, 0x2
000041A8 A830 syscall Pack14
000041AA 544F addq.w A7, 2
label000041AC:
000041AC 200C move.l D0, A4
000041AE 671C beq +0x1E /* 000041CC */
000041B0 246C 0122 movea.l A2, [A4 + 0x122]
000041B4 200A move.l D0, A2
000041B6 6714 beq +0x16 /* 000041CC */
000041B8 486D FD98 pea.l [A5 - 0x268]
000041BC 2F0C move.l -[A7], A4
000041BE 2F2E FEE0 move.l -[A7], [A6 - 0x120]
000041C2 4E92 jsr [A2]
000041C4 4FEF 000C lea.l A7, [A7 + 0xC]
000041C8 1D40 FEE4 move.b [A6 - 0x11C], D0
label000041CC:
000041CC 102E FEE4 move.b D0, [A6 - 0x11C]
000041D0 670C beq +0xE /* 000041DE */
000041D2 422E FEDC clr.b [A6 - 0x124]
000041D6 7000 moveq.l D0, 0x00
000041D8 2D40 FEE0 move.l [A6 - 0x120], D0
000041DC 600C bra +0xE /* 000041EA */
label000041DE:
000041DE 206E FEE0 movea.l A0, [A6 - 0x120]
000041E2 2028 0090 move.l D0, [A0 + 0x90]
000041E6 2D40 FEE0 move.l [A6 - 0x120], D0
label000041EA:
000041EA 202E FEE0 move.l D0, [A6 - 0x120]
000041EE 6600 FD9E bne -0x260 /* 00003F8E */
000041F2 102E FEDC move.b D0, [A6 - 0x124]
000041F6 670A beq +0xC /* 00004202 */
000041F8 486D FD98 pea.l [A5 - 0x268]
000041FC 4EBA F950 jsr [PC - 0x6B0 /* 00003B4E */]
00004200 584F addq.w A7, 4
label00004202:
00004202 102D FD96 move.b D0, [A5 - 0x26A]
00004206 6746 beq +0x48 /* 0000424E */
00004208 594F subq.w A7, 4
0000420A A924 syscall FrontWindow
0000420C 201F move.l D0, [A7]+
0000420E 2D40 FEE0 move.l [A6 - 0x120], D0
00004212 602E bra +0x30 /* 00004242 */
label00004214:
00004214 246E FEE0 movea.l A2, [A6 - 0x120]
00004218 266A 0090 movea.l A3, [A2 + 0x90]
0000421C 42A7 clr.l -[A7]
0000421E 2F0A move.l -[A7], A2
00004220 4EBA E030 jsr [PC - 0x1FD0 /* 00002252 */]
00004224 504F addq.w A7, 8
00004226 3600 move.w D3, D0
00004228 594F subq.w A7, 4
0000422A A924 syscall FrontWindow
0000422C 205F movea.l A0, [A7]+
0000422E B1CA cmpa.l A0, A2
00004230 6604 bne +0x6 /* 00004236 */
00004232 422D FD96 clr.b [A5 - 0x26A]
label00004236:
00004236 4A43 tst.w D3
00004238 6704 beq +0x6 /* 0000423E */
0000423A 422D FD96 clr.b [A5 - 0x26A]
label0000423E:
0000423E 2D4B FEE0 move.l [A6 - 0x120], A3
label00004242:
00004242 102D FD96 move.b D0, [A5 - 0x26A]
00004246 6706 beq +0x8 /* 0000424E */
00004248 202E FEE0 move.l D0, [A6 - 0x120]
0000424C 66C6 bne -0x38 /* 00004214 */
label0000424E:
0000424E 102D FD92 move.b D0, [A5 - 0x26E]
00004252 6718 beq +0x1A /* 0000426C */
00004254 102E FEDD move.b D0, [A6 - 0x123]
00004258 6612 bne +0x14 /* 0000426C */
0000425A 102D FD96 move.b D0, [A5 - 0x26A]
0000425E 660C bne +0xE /* 0000426C */
00004260 554F subq.w A7, 2
00004262 42A7 clr.l -[A7]
00004264 303C 0205 move.w D0, 0x205
00004268 ABF2 syscall ThreadDispatch
0000426A 544F addq.w A7, 2
label0000426C:
0000426C 102D FD96 move.b D0, [A5 - 0x26A]
00004270 6700 FC78 beq -0x386 /* 00003EEA */
00004274 4240 clr.w D0
00004276 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
0000427A 4E5E unlink A6
0000427C 4E75 rts
fn0000427E:
0000427E 4E56 FFF4 link A6, -0x000C
00004282 2F03 move.l -[A7], D3
00004284 554F subq.w A7, 2
00004286 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000428A 2F3C 6D69 7373 move.l -[A7], 0x6D697373 /* 'miss' */
00004290 2F3C 2A2A 2A2A move.l -[A7], 0x2A2A2A2A /* '****' */
00004296 486E FFF8 pea.l [A6 - 0x8]
0000429A 486E FFF4 pea.l [A6 - 0xC]
0000429E 7004 moveq.l D0, 0x04
000042A0 2F00 move.l -[A7], D0
000042A2 486E FFFC pea.l [A6 - 0x4]
000042A6 303C 0E15 move.w D0, 0xE15
000042AA A816 syscall Pack8
000042AC 361F move.w D3, [A7]+
000042AE 6606 bne +0x8 /* 000042B6 */
000042B0 363C F94D move.w D3, 0xF94D
000042B4 6008 bra +0xA /* 000042BE */
label000042B6:
000042B6 0C43 F95B cmpi.w D3, 0xF95B
000042BA 6602 bne +0x4 /* 000042BE */
000042BC 4243 clr.w D3
label000042BE:
000042BE 3003 move.w D0, D3
000042C0 261F move.l D3, [A7]+
000042C2 4E5E unlink A6
000042C4 4E75 rts
export_20:
000042C6 4E56 0000 link A6, 0
000042CA 42A7 clr.l -[A7]
000042CC 42A7 clr.l -[A7]
000042CE 700A moveq.l D0, 0x0A
000042D0 3F00 move.w -[A7], D0
000042D2 42A7 clr.l -[A7]
000042D4 4EBA EE64 jsr [PC - 0x119C /* 0000313A */]
000042D8 4FEF 000E lea.l A7, [A7 + 0xE]
000042DC 202D FD18 move.l D0, [A5 - 0x2E8]
000042E0 6714 beq +0x16 /* 000042F6 */
000042E2 554F subq.w A7, 2
000042E4 2F2D FD18 move.l -[A7], [A5 - 0x2E8]
000042E8 4267 clr.w -[A7]
000042EA 2F2D FD18 move.l -[A7], [A5 - 0x2E8]
000042EE 303C 0508 move.w D0, 0x508
000042F2 ABF2 syscall ThreadDispatch
000042F4 544F addq.w A7, 2
label000042F6:
000042F6 2F2E 0010 move.l -[A7], [A6 + 0x10]
000042FA 4EBA FF82 jsr [PC - 0x7E /* 0000427E */]
000042FE 584F addq.w A7, 4
00004300 3D40 0014 move.w [A6 + 0x14], D0
00004304 4E5E unlink A6
00004306 205F movea.l A0, [A7]+
00004308 4FEF 000C lea.l A7, [A7 + 0xC]
0000430C 4ED0 jmp [A0]
export_21:
0000430E 4E56 0000 link A6, 0
00004312 42A7 clr.l -[A7]
00004314 42A7 clr.l -[A7]
00004316 7012 moveq.l D0, 0x12
00004318 3F00 move.w -[A7], D0
0000431A 42A7 clr.l -[A7]
0000431C 4EBA EE1C jsr [PC - 0x11E4 /* 0000313A */]
00004320 4FEF 000E lea.l A7, [A7 + 0xE]
00004324 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004328 4EBA FF54 jsr [PC - 0xAC /* 0000427E */]
0000432C 584F addq.w A7, 4
0000432E 3D40 0014 move.w [A6 + 0x14], D0
00004332 4E5E unlink A6
00004334 205F movea.l A0, [A7]+
00004336 4FEF 000C lea.l A7, [A7 + 0xC]
0000433A 4ED0 jmp [A0]
fn0000433C:
0000433C 4E56 FF88 link A6, -0x0078
00004340 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00004344 286E 0008 movea.l A4, [A6 + 0x8]
00004348 554F subq.w A7, 2
0000434A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000434E 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
00004354 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
0000435A 486E FF88 pea.l [A6 - 0x78]
0000435E 303C 0812 move.w D0, 0x812
00004362 A816 syscall Pack8
00004364 381F move.w D4, [A7]+
00004366 6600 0148 bne +0x14A /* 000044B0 */
0000436A 554F subq.w A7, 2
0000436C 486E FF88 pea.l [A6 - 0x78]
00004370 486E FF90 pea.l [A6 - 0x70]
00004374 303C 0407 move.w D0, 0x407
00004378 A816 syscall Pack8
0000437A 381F move.w D4, [A7]+
0000437C 6600 0124 bne +0x126 /* 000044A2 */
00004380 7A01 moveq.l D5, 0x01
00004382 6000 0104 bra +0x106 /* 00004488 */
label00004386:
00004386 554F subq.w A7, 2
00004388 486E FF88 pea.l [A6 - 0x78]
0000438C 2F05 move.l -[A7], D5
0000438E 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
00004394 486E FF9C pea.l [A6 - 0x64]
00004398 486E FFA0 pea.l [A6 - 0x60]
0000439C 486E FFA8 pea.l [A6 - 0x58]
000043A0 7046 moveq.l D0, 0x46
000043A2 2F00 move.l -[A7], D0
000043A4 486E FFA4 pea.l [A6 - 0x5C]
000043A8 303C 100A move.w D0, 0x100A
000043AC A816 syscall Pack8
000043AE 381F move.w D4, [A7]+
000043B0 6600 00F0 bne +0xF2 /* 000044A2 */
000043B4 554F subq.w A7, 2
000043B6 486E FFA8 pea.l [A6 - 0x58]
000043BA 486E FFF0 pea.l [A6 - 0x10]
000043BE 7007 moveq.l D0, 0x07
000043C0 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000043C2 381F move.w D4, [A7]+
000043C4 661A bne +0x1C /* 000043E0 */
000043C6 486E FF98 pea.l [A6 - 0x68]
000043CA 42A7 clr.l -[A7]
000043CC 42A7 clr.l -[A7]
000043CE 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000043D2 486E FFA8 pea.l [A6 - 0x58]
000043D6 4EBA E014 jsr [PC - 0x1FEC /* 000023EC */]
000043DA 4FEF 0014 lea.l A7, [A7 + 0x14]
000043DE 3800 move.w D4, D0
label000043E0:
000043E0 0C44 00C9 cmpi.w D4, 0xC9
000043E4 662C bne +0x2E /* 00004412 */
000043E6 200C move.l D0, A4
000043E8 6712 beq +0x14 /* 000043FC */
000043EA 7002 moveq.l D0, 0x02
000043EC 3F00 move.w -[A7], D0
000043EE 7010 moveq.l D0, 0x10
000043F0 3F00 move.w -[A7], D0
000043F2 3F04 move.w -[A7], D4
000043F4 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000043F8 5C4F addq.w A7, 6
000043FA 6010 bra +0x12 /* 0000440C */
label000043FC:
000043FC 7002 moveq.l D0, 0x02
000043FE 3F00 move.w -[A7], D0
00004400 700B moveq.l D0, 0x0B
00004402 3F00 move.w -[A7], D0
00004404 3F04 move.w -[A7], D4
00004406 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
0000440A 5C4F addq.w A7, 6
label0000440C:
0000440C 4244 clr.w D4
0000440E 6000 0080 bra +0x82 /* 00004490 */
label00004412:
00004412 4A44 tst.w D4
00004414 6600 008C bne +0x8E /* 000044A2 */
00004418 200C move.l D0, A4
0000441A 676A beq +0x6C /* 00004486 */
0000441C 594F subq.w A7, 4
0000441E A924 syscall FrontWindow
00004420 245F movea.l A2, [A7]+
00004422 2F0A move.l -[A7], A2
00004424 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00004428 584F addq.w A7, 4
0000442A 2640 movea.l A3, D0
0000442C 4AAB 0142 tst.l [A3 + 0x142]
00004430 6740 beq +0x42 /* 00004472 */
00004432 0C85 0000 0001 cmpi.l D5, 0x1
00004438 6616 bne +0x18 /* 00004450 */
0000443A 2F0C move.l -[A7], A4
0000443C 2F0A move.l -[A7], A2
0000443E 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
00004442 504F addq.w A7, 8
00004444 3800 move.w D4, D0
00004446 6608 bne +0xA /* 00004450 */
00004448 202B 014E move.l D0, [A3 + 0x14E]
0000444C 2D40 FF94 move.l [A6 - 0x6C], D0
label00004450:
00004450 4A44 tst.w D4
00004452 6612 bne +0x14 /* 00004466 */
00004454 4227 clr.b -[A7]
00004456 2F2E FF94 move.l -[A7], [A6 - 0x6C]
0000445A 2F0A move.l -[A7], A2
0000445C 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
00004460 4FEF 000A lea.l A7, [A7 + 0xA]
00004464 3800 move.w D4, D0
label00004466:
00004466 BAAE FF90 cmp.l D5, [A6 - 0x70]
0000446A 6706 beq +0x8 /* 00004472 */
0000446C 7000 moveq.l D0, 0x00
0000446E 2740 014E move.l [A3 + 0x14E], D0
label00004472:
00004472 102E FF98 move.b D0, [A6 - 0x68]
00004476 660A bne +0xC /* 00004482 */
00004478 42A7 clr.l -[A7]
0000447A 2F0A move.l -[A7], A2
0000447C 4EBA DDD4 jsr [PC - 0x222C /* 00002252 */]
00004480 504F addq.w A7, 8
label00004482:
00004482 4A44 tst.w D4
00004484 660A bne +0xC /* 00004490 */
label00004486:
00004486 5285 addq.l D5, 1
label00004488:
00004488 BAAE FF90 cmp.l D5, [A6 - 0x70]
0000448C 6F00 FEF8 ble -0x106 /* 00004386 */
label00004490:
00004490 2F2E 000C move.l -[A7], [A6 + 0xC]
00004494 4EBA FDE8 jsr [PC - 0x218 /* 0000427E */]
00004498 584F addq.w A7, 4
0000449A 3600 move.w D3, D0
0000449C 4A44 tst.w D4
0000449E 6602 bne +0x4 /* 000044A2 */
000044A0 3803 move.w D4, D3
label000044A2:
000044A2 554F subq.w A7, 2
000044A4 486E FF88 pea.l [A6 - 0x78]
000044A8 303C 0204 move.w D0, 0x204
000044AC A816 syscall Pack8
000044AE 544F addq.w A7, 2
label000044B0:
000044B0 200C move.l D0, A4
000044B2 670E beq +0x10 /* 000044C2 */
000044B4 0C44 0080 cmpi.w D4, 0x80
000044B8 6706 beq +0x8 /* 000044C0 */
000044BA 0C44 FDE8 cmpi.w D4, 0xFDE8
000044BE 6602 bne +0x4 /* 000044C2 */
label000044C0:
000044C0 4244 clr.w D4
label000044C2:
000044C2 4A44 tst.w D4
000044C4 6732 beq +0x34 /* 000044F8 */
000044C6 0C44 0064 cmpi.w D4, 0x64 /* 'd' */
000044CA 672C beq +0x2E /* 000044F8 */
000044CC 0C44 0065 cmpi.w D4, 0x65 /* 'e' */
000044D0 6726 beq +0x28 /* 000044F8 */
000044D2 200C move.l D0, A4
000044D4 6712 beq +0x14 /* 000044E8 */
000044D6 7002 moveq.l D0, 0x02
000044D8 3F00 move.w -[A7], D0
000044DA 7010 moveq.l D0, 0x10
000044DC 3F00 move.w -[A7], D0
000044DE 3F04 move.w -[A7], D4
000044E0 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000044E4 5C4F addq.w A7, 6
000044E6 6010 bra +0x12 /* 000044F8 */
label000044E8:
000044E8 7002 moveq.l D0, 0x02
000044EA 3F00 move.w -[A7], D0
000044EC 700B moveq.l D0, 0x0B
000044EE 3F00 move.w -[A7], D0
000044F0 3F04 move.w -[A7], D4
000044F2 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000044F6 5C4F addq.w A7, 6
label000044F8:
000044F8 3004 move.w D0, D4
000044FA 3D40 0010 move.w [A6 + 0x10], D0
000044FE 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00004502 4E5E unlink A6
00004504 205F movea.l A0, [A7]+
00004506 504F addq.w A7, 8
00004508 4ED0 jmp [A0]
export_22:
0000450A 4E56 0000 link A6, 0
0000450E 2F04 move.l -[A7], D4
00004510 700B moveq.l D0, 0x0B
00004512 3F00 move.w -[A7], D0
00004514 4EBA D3AC jsr [PC - 0x2C54 /* 000018C2 */]
00004518 544F addq.w A7, 2
0000451A 4A00 tst.b D0
0000451C 6710 beq +0x12 /* 0000452E */
0000451E 554F subq.w A7, 2
00004520 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004524 42A7 clr.l -[A7]
00004526 4EBA FE14 jsr [PC - 0x1EC /* 0000433C */]
0000452A 381F move.w D4, [A7]+
0000452C 6016 bra +0x18 /* 00004544 */
label0000452E:
0000452E 383C F954 move.w D4, 0xF954
00004532 7002 moveq.l D0, 0x02
00004534 3F00 move.w -[A7], D0
00004536 700B moveq.l D0, 0x0B
00004538 3F00 move.w -[A7], D0
0000453A 3F3C F954 move.w -[A7], 0xF954
0000453E 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
00004542 5C4F addq.w A7, 6
label00004544:
00004544 202D FD18 move.l D0, [A5 - 0x2E8]
00004548 6714 beq +0x16 /* 0000455E */
0000454A 554F subq.w A7, 2
0000454C 2F2D FD18 move.l -[A7], [A5 - 0x2E8]
00004550 4267 clr.w -[A7]
00004552 2F2D FD18 move.l -[A7], [A5 - 0x2E8]
00004556 303C 0508 move.w D0, 0x508
0000455A ABF2 syscall ThreadDispatch
0000455C 544F addq.w A7, 2
label0000455E:
0000455E 3004 move.w D0, D4
00004560 3D40 0014 move.w [A6 + 0x14], D0
00004564 281F move.l D4, [A7]+
00004566 4E5E unlink A6
00004568 205F movea.l A0, [A7]+
0000456A 4FEF 000C lea.l A7, [A7 + 0xC]
0000456E 4ED0 jmp [A0]
export_23:
00004570 4E56 FFA4 link A6, -0x005C
00004574 2F04 move.l -[A7], D4
00004576 700B moveq.l D0, 0x0B
00004578 3F00 move.w -[A7], D0
0000457A 4EBA D346 jsr [PC - 0x2CBA /* 000018C2 */]
0000457E 544F addq.w A7, 2
00004580 4A00 tst.b D0
00004582 6766 beq +0x68 /* 000045EA */
00004584 554F subq.w A7, 2
00004586 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000458A 2F3C 6F70 746B move.l -[A7], 0x6F70746B /* 'optk' */
00004590 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00004596 486E FFEC pea.l [A6 - 0x14]
0000459A 303C 0826 move.w D0, 0x826
0000459E A816 syscall Pack8
000045A0 381F move.w D4, [A7]+
000045A2 662C bne +0x2E /* 000045D0 */
000045A4 554F subq.w A7, 2
000045A6 486E FFEC pea.l [A6 - 0x14]
000045AA 7001 moveq.l D0, 0x01
000045AC 2F00 move.l -[A7], D0
000045AE 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
000045B4 486E FFF4 pea.l [A6 - 0xC]
000045B8 486E FFF8 pea.l [A6 - 0x8]
000045BC 486E FFA4 pea.l [A6 - 0x5C]
000045C0 7046 moveq.l D0, 0x46
000045C2 2F00 move.l -[A7], D0
000045C4 486E FFFC pea.l [A6 - 0x4]
000045C8 303C 100A move.w D0, 0x100A
000045CC A816 syscall Pack8
000045CE 381F move.w D4, [A7]+
label000045D0:
000045D0 4A44 tst.w D4
000045D2 6704 beq +0x6 /* 000045D8 */
000045D4 422E FFAA clr.b [A6 - 0x56]
label000045D8:
000045D8 554F subq.w A7, 2
000045DA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000045DE 486E FFAA pea.l [A6 - 0x56]
000045E2 4EBA FD58 jsr [PC - 0x2A8 /* 0000433C */]
000045E6 381F move.w D4, [A7]+
000045E8 6016 bra +0x18 /* 00004600 */
label000045EA:
000045EA 383C F954 move.w D4, 0xF954
000045EE 7002 moveq.l D0, 0x02
000045F0 3F00 move.w -[A7], D0
000045F2 7010 moveq.l D0, 0x10
000045F4 3F00 move.w -[A7], D0
000045F6 3F3C F954 move.w -[A7], 0xF954
000045FA 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000045FE 5C4F addq.w A7, 6
label00004600:
00004600 3004 move.w D0, D4
00004602 3D40 0014 move.w [A6 + 0x14], D0
00004606 281F move.l D4, [A7]+
00004608 4E5E unlink A6
0000460A 205F movea.l A0, [A7]+
0000460C 4FEF 000C lea.l A7, [A7 + 0xC]
00004610 4ED0 jmp [A0]
00004612 4E56 0000 link A6, 0
00004616 48E7 1030 movem.l -[A7], D3,A2,A3
0000461A 4243 clr.w D3
0000461C 594F subq.w A7, 4
0000461E A924 syscall FrontWindow
00004620 265F movea.l A3, [A7]+
00004622 2F0B move.l -[A7], A3
00004624 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00004628 584F addq.w A7, 4
0000462A 2440 movea.l A2, D0
0000462C 200A move.l D0, A2
0000462E 671E beq +0x20 /* 0000464E */
00004630 4AAA 014A tst.l [A2 + 0x14A]
00004634 6718 beq +0x1A /* 0000464E */
00004636 2F2E 000C move.l -[A7], [A6 + 0xC]
0000463A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000463E 2F0A move.l -[A7], A2
00004640 2F0B move.l -[A7], A3
00004642 206A 014A movea.l A0, [A2 + 0x14A]
00004646 4E90 jsr [A0]
00004648 4FEF 0010 lea.l A7, [A7 + 0x10]
0000464C 3600 move.w D3, D0
label0000464E:
0000464E 3003 move.w D0, D3
00004650 3D40 0014 move.w [A6 + 0x14], D0
00004654 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004658 4E5E unlink A6
0000465A 205F movea.l A0, [A7]+
0000465C 4FEF 000C lea.l A7, [A7 + 0xC]
00004660 4ED0 jmp [A0]
export_24:
00004662 4E56 FFF0 link A6, -0x0010
label00004666:
00004666 554F subq.w A7, 2
00004668 42A7 clr.l -[A7]
0000466A 303C 0205 move.w D0, 0x205
0000466E ABF2 syscall ThreadDispatch
00004670 3F3C 0140 move.w -[A7], 0x140
00004674 486E FFF0 pea.l [A6 - 0x10]
00004678 A971 syscall EventAvail
0000467A 101F move.b D0, [A7]+
0000467C 66E8 bne -0x16 /* 00004666 */
0000467E 202D FD20 move.l D0, [A5 - 0x2E0]
00004682 6714 beq +0x16 /* 00004698 */
00004684 554F subq.w A7, 2
00004686 2F2D FD20 move.l -[A7], [A5 - 0x2E0]
0000468A 4267 clr.w -[A7]
0000468C 2F2D FD20 move.l -[A7], [A5 - 0x2E0]
00004690 303C 0508 move.w D0, 0x508
00004694 ABF2 syscall ThreadDispatch
00004696 544F addq.w A7, 2
label00004698:
00004698 202D FD1C move.l D0, [A5 - 0x2E4]
0000469C 6714 beq +0x16 /* 000046B2 */
0000469E 554F subq.w A7, 2
000046A0 2F2D FD1C move.l -[A7], [A5 - 0x2E4]
000046A4 4267 clr.w -[A7]
000046A6 2F2D FD1C move.l -[A7], [A5 - 0x2E4]
000046AA 303C 0508 move.w D0, 0x508
000046AE ABF2 syscall ThreadDispatch
000046B0 544F addq.w A7, 2
label000046B2:
000046B2 7000 moveq.l D0, 0x00
000046B4 2B40 FD18 move.l [A5 - 0x2E8], D0
000046B8 7000 moveq.l D0, 0x00
000046BA 2D40 000C move.l [A6 + 0xC], D0
000046BE 4E5E unlink A6
000046C0 205F movea.l A0, [A7]+
000046C2 584F addq.w A7, 4
000046C4 4ED0 jmp [A0]
fn000046C6:
000046C6 4E56 FFF8 link A6, -0x0008
000046CA 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
000046CE 266E 0008 movea.l A3, [A6 + 0x8]
000046D2 4245 clr.w D5
000046D4 244B movea.l A2, A3
000046D6 544A addq.w A2, 2
000046D8 2D4A FFFC move.l [A6 - 0x4], A2
000046DC 284A movea.l A4, A2
000046DE 6000 00E4 bra +0xE6 /* 000047C4 */
label000046E2:
000046E2 3005 move.w D0, D5
000046E4 48C0 ext.l D0
000046E6 670E beq +0x10 /* 000046F6 */
000046E8 7201 moveq.l D1, 0x01
000046EA B081 cmp.l D0, D1
000046EC 6724 beq +0x26 /* 00004712 */
000046EE 7202 moveq.l D1, 0x02
000046F0 B081 cmp.l D0, D1
000046F2 673A beq +0x3C /* 0000472E */
000046F4 6052 bra +0x54 /* 00004748 */
label000046F6:
000046F6 554F subq.w A7, 2
000046F8 70FF moveq.l D0, 0xFFFFFFFF
000046FA 3F00 move.w -[A7], D0
000046FC 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
00004702 4227 clr.b -[A7]
00004704 2F0B move.l -[A7], A3
00004706 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000470A 7000 moveq.l D0, 0x00
0000470C A823 syscall AliasDispatch
0000470E 544F addq.w A7, 2
00004710 6036 bra +0x38 /* 00004748 */
label00004712:
00004712 554F subq.w A7, 2
00004714 70FF moveq.l D0, 0xFFFFFFFF
00004716 3F00 move.w -[A7], D0
00004718 2F3C 6578 746E move.l -[A7], 0x6578746E /* 'extn' */
0000471E 4227 clr.b -[A7]
00004720 2F0B move.l -[A7], A3
00004722 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004726 7000 moveq.l D0, 0x00
00004728 A823 syscall AliasDispatch
0000472A 544F addq.w A7, 2
0000472C 601A bra +0x1C /* 00004748 */
label0000472E:
0000472E 554F subq.w A7, 2
00004730 70FF moveq.l D0, 0xFFFFFFFF
00004732 3F00 move.w -[A7], D0
00004734 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
0000473A 4227 clr.b -[A7]
0000473C 2F0B move.l -[A7], A3
0000473E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004742 7000 moveq.l D0, 0x00
00004744 A823 syscall AliasDispatch
00004746 544F addq.w A7, 2
label00004748:
00004748 554F subq.w A7, 2
0000474A 3F13 move.w -[A7], [A3]
0000474C 206E FFFC movea.l A0, [A6 - 0x4]
00004750 2F10 move.l -[A7], [A0]
00004752 4267 clr.w -[A7]
00004754 4227 clr.b -[A7]
00004756 4EBA 0F3E jsr [PC + 0xF3E /* 00005696 */]
0000475A 381F move.w D4, [A7]+
0000475C 102D FD16 move.b D0, [A5 - 0x2EA]
00004760 660C bne +0xE /* 0000476E */
00004762 554F subq.w A7, 2
00004764 42A7 clr.l -[A7]
00004766 303C 0205 move.w D0, 0x205
0000476A ABF2 syscall ThreadDispatch
0000476C 544F addq.w A7, 2
label0000476E:
0000476E 4243 clr.w D3
00004770 604C bra +0x4E /* 000047BE */
label00004772:
00004772 102D FD16 move.b D0, [A5 - 0x2EA]
00004776 660C bne +0xE /* 00004784 */
00004778 554F subq.w A7, 2
0000477A 42A7 clr.l -[A7]
0000477C 303C 0205 move.w D0, 0x205
00004780 ABF2 syscall ThreadDispatch
00004782 544F addq.w A7, 2
label00004784:
00004784 554F subq.w A7, 2
00004786 3F13 move.w -[A7], [A3]
00004788 2F14 move.l -[A7], [A4]
0000478A 4267 clr.w -[A7]
0000478C 4227 clr.b -[A7]
0000478E 3003 move.w D0, D3
00004790 5240 addq.w D0, 1
00004792 3F00 move.w -[A7], D0
00004794 2F0B move.l -[A7], A3
00004796 4EBA 0FF8 jsr [PC + 0xFF8 /* 00005790 */]
0000479A 301F move.w D0, [A7]+
0000479C 661E bne +0x20 /* 000047BC */
0000479E 554F subq.w A7, 2
000047A0 2F0B move.l -[A7], A3
000047A2 486E FFF8 pea.l [A6 - 0x8]
000047A6 4EBA 1144 jsr [PC + 0x1144 /* 000058EC */]
000047AA 301F move.w D0, [A7]+
000047AC 660E bne +0x10 /* 000047BC */
000047AE 0CAE 7474 7874 FFF8 cmpi.l [A6 - 0x8], 0x74747874 /* 'ttxt' */
000047B6 6604 bne +0x6 /* 000047BC */
000047B8 4240 clr.w D0
000047BA 6012 bra +0x14 /* 000047CE */
label000047BC:
000047BC 5243 addq.w D3, 1
label000047BE:
000047BE B644 cmp.w D3, D4
000047C0 6DB0 blt -0x4E /* 00004772 */
000047C2 5245 addq.w D5, 1
label000047C4:
000047C4 0C45 0003 cmpi.w D5, 0x3
000047C8 6500 FF18 bcs -0xE6 /* 000046E2 */
000047CC 70D5 moveq.l D0, 0xFFFFFFD5
label000047CE:
000047CE 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000047D2 4E5E unlink A6
000047D4 4E75 rts
export_25:
000047D6 4E56 FEFC link A6, -0x0104
000047DA 2F03 move.l -[A7], D3
000047DC 594F subq.w A7, 4
000047DE 7008 moveq.l D0, 0x08
000047E0 AA6E syscall AppleGuideDispatch
000047E2 201F move.l D0, [A7]+
000047E4 7201 moveq.l D1, 0x01
000047E6 C081 and.l D0, D1
000047E8 667A bne +0x7C /* 00004864 */
000047EA 486D FD24 pea.l [A5 - 0x2DC]
000047EE 4EBA FED6 jsr [PC - 0x12A /* 000046C6 */]
000047F2 584F addq.w A7, 4
000047F4 4A40 tst.w D0
000047F6 666C bne +0x6E /* 00004864 */
000047F8 554F subq.w A7, 2
000047FA 486E FEFC pea.l [A6 - 0x104]
000047FE 303C 0200 move.w D0, 0x200
00004802 A830 syscall Pack14
00004804 301F move.w D0, [A7]+
00004806 665C bne +0x5E /* 00004864 */
00004808 554F subq.w A7, 2
0000480A 486D FD24 pea.l [A5 - 0x2DC]
0000480E 486E FF00 pea.l [A6 - 0x100]
00004812 4EBA 0F16 jsr [PC + 0xF16 /* 0000572A */]
00004816 544F addq.w A7, 2
00004818 2F2E FEFC move.l -[A7], [A6 - 0x104]
0000481C 486E FF00 pea.l [A6 - 0x100]
00004820 A933 syscall AppendMenu
00004822 554F subq.w A7, 2
00004824 A994 syscall CurResFile
00004826 361F move.w D3, [A7]+
00004828 3F2D FD6E move.w -[A7], [A5 - 0x292]
0000482C A998 syscall UseResFile
0000482E 486E FF00 pea.l [A6 - 0x100]
00004832 3F3C 0BB8 move.w -[A7], 0xBB8
00004836 7002 moveq.l D0, 0x02
00004838 3F00 move.w -[A7], D0
0000483A 4EBA 1644 jsr [PC + 0x1644 /* 00005E80 */]
0000483E 3F03 move.w -[A7], D3
00004840 A998 syscall UseResFile
00004842 102E FF00 move.b D0, [A6 - 0x100]
00004846 671C beq +0x1E /* 00004864 */
00004848 2F2E FEFC move.l -[A7], [A6 - 0x104]
0000484C 554F subq.w A7, 2
0000484E 2F2E FEFC move.l -[A7], [A6 - 0x104]
00004852 A950 syscall CountMItems
00004854 301F move.w D0, [A7]+
00004856 3F00 move.w -[A7], D0
00004858 122E FF01 move.b D1, [A6 - 0xFF]
0000485C 7000 moveq.l D0, 0x00
0000485E 1001 move.b D0, D1
00004860 3F00 move.w -[A7], D0
00004862 A84F syscall SetItemCmd
label00004864:
00004864 594F subq.w A7, 4
00004866 7008 moveq.l D0, 0x08
00004868 AA6E syscall AppleGuideDispatch
0000486A 201F move.l D0, [A7]+
0000486C 7201 moveq.l D1, 0x01
0000486E C081 and.l D0, D1
00004870 6712 beq +0x14 /* 00004884 */
00004872 554F subq.w A7, 2
00004874 487A FD9C pea.l [PC - 0x264 /* 00004612, value 0x4E560000 'NV\0\0', cstring "NV" */]
00004878 42A7 clr.l -[A7]
0000487A 486D F9FC pea.l [A5 - 0x604]
0000487E 7012 moveq.l D0, 0x12
00004880 AA6E syscall AppleGuideDispatch
00004882 544F addq.w A7, 2
label00004884:
00004884 7000 moveq.l D0, 0x00
00004886 2B40 FD1C move.l [A5 - 0x2E4], D0
0000488A 7000 moveq.l D0, 0x00
0000488C 2D40 000C move.l [A6 + 0xC], D0
00004890 261F move.l D3, [A7]+
00004892 4E5E unlink A6
00004894 205F movea.l A0, [A7]+
00004896 584F addq.w A7, 4
00004898 4ED0 jmp [A0]
fn0000489A:
0000489A 4E56 FF00 link A6, -0x0100
0000489E 48E7 0C30 movem.l -[A7], D4,D5,A2,A3
000048A2 246E 0008 movea.l A2, [A6 + 0x8]
000048A6 266E 000C movea.l A3, [A6 + 0xC]
000048AA 554F subq.w A7, 2
000048AC 2F0A move.l -[A7], A2
000048AE A950 syscall CountMItems
000048B0 3A1F move.w D5, [A7]+
000048B2 7801 moveq.l D4, 0x01
000048B4 6052 bra +0x54 /* 00004908 */
label000048B6:
000048B6 2F0A move.l -[A7], A2
000048B8 3F04 move.w -[A7], D4
000048BA 486E FF00 pea.l [A6 - 0x100]
000048BE A946 syscall GetMenuItemText/GetItem
000048C0 554F subq.w A7, 2
000048C2 2F0B move.l -[A7], A3
000048C4 486E FF00 pea.l [A6 - 0x100]
000048C8 4EBA 142E jsr [PC + 0x142E /* 00005CF8 */]
000048CC 301F move.w D0, [A7]+
000048CE 48C0 ext.l D0
000048D0 670E beq +0x10 /* 000048E0 */
000048D2 7201 moveq.l D1, 0x01
000048D4 B081 cmp.l D0, D1
000048D6 672E beq +0x30 /* 00004906 */
000048D8 72FF moveq.l D1, 0xFFFFFFFF
000048DA B081 cmp.l D0, D1
000048DC 6708 beq +0xA /* 000048E6 */
000048DE 6026 bra +0x28 /* 00004906 */
label000048E0:
000048E0 3004 move.w D0, D4
000048E2 48C0 ext.l D0
000048E4 6046 bra +0x48 /* 0000492C */
label000048E6:
000048E6 2F0A move.l -[A7], A2
000048E8 487A 004C pea.l [PC + 0x4C /* 00004936, value 0x9546F6D '\tTom', pstring "Tom Dowdy" */]
000048EC 3004 move.w D0, D4
000048EE 5340 subq.w D0, 1
000048F0 3F00 move.w -[A7], D0
000048F2 A826 syscall InsertMenuItem/InsMenuItem
000048F4 2F0A move.l -[A7], A2
000048F6 3F04 move.w -[A7], D4
000048F8 2F0B move.l -[A7], A3
000048FA A947 syscall SetMenuItemText/SetItem
000048FC 3004 move.w D0, D4
000048FE 3200 move.w D1, D0
00004900 48C1 ext.l D1
00004902 2001 move.l D0, D1
00004904 6026 bra +0x28 /* 0000492C */
label00004906:
00004906 5244 addq.w D4, 1
label00004908:
00004908 B845 cmp.w D4, D5
0000490A 6FAA ble -0x54 /* 000048B6 */
0000490C 2F0A move.l -[A7], A2
0000490E 487A 0032 pea.l [PC + 0x32 /* 00004942, value 0x9546F6D '\tTom', pstring "Tom Dowdy" */]
00004912 3F05 move.w -[A7], D5
00004914 A826 syscall InsertMenuItem/InsMenuItem
00004916 2F0A move.l -[A7], A2
00004918 3005 move.w D0, D5
0000491A 5240 addq.w D0, 1
0000491C 3F00 move.w -[A7], D0
0000491E 2F0B move.l -[A7], A3
00004920 A947 syscall SetMenuItemText/SetItem
00004922 3005 move.w D0, D5
00004924 3200 move.w D1, D0
00004926 48C1 ext.l D1
00004928 2001 move.l D0, D1
0000492A 5280 addq.l D0, 1
label0000492C:
0000492C 4CDF 0C30 movem.l D4,D5,A2,A3, [A7]+
00004930 4E5E unlink A6
00004932 4E75 rts
00004934 0018 0954 ori.b [A0]+, 0x54 /* 'T' */
00004938 6F6D ble +0x6F /* 000049A7 */
0000493A 2044 movea.l A0, D4
0000493C 6F77 ble +0x79 /* 000049B5 */
0000493E 6479 bcc +0x7B /* 000049B9 */
00004940 0000 0954 ori.b D0, 0x54 /* 'T' */
00004944 6F6D ble +0x6F /* 000049B3 */
00004946 2044 movea.l A0, D4
00004948 6F77 ble +0x79 /* 000049C1 */
0000494A 6479 bcc +0x7B /* 000049C5 */
0000494C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000494E-00004956
fn0000494E:
0000494E 4E56 0000 link A6, 0
00004952 48E7 1820 movem.l -[A7], D3,D4,A2
// end alternate branch 0000494E-00004956
fn0000494E: // (misaligned)
00004950 0000 48E7 ori.b D0, 0xE7
00004954 1820 move.b D4, -[A0]
00004956 202D FA00 move.l D0, [A5 - 0x600]
0000495A 6608 bne +0xA /* 00004964 */
0000495C 7000 moveq.l D0, 0x00
0000495E A122 syscall NewHandle, flags=1
00004960 2B48 FA00 move.l [A5 - 0x600], A0
label00004964:
00004964 202D FA00 move.l D0, [A5 - 0x600]
00004968 6736 beq +0x38 /* 000049A0 */
0000496A 594F subq.w A7, 4
0000496C 2F2D FA00 move.l -[A7], [A5 - 0x600]
00004970 4EBA 1228 jsr [PC + 0x1228 /* 00005B9A */]
00004974 281F move.l D4, [A7]+
00004976 206D FA00 movea.l A0, [A5 - 0x600]
0000497A 2004 move.l D0, D4
0000497C 5080 addq.l D0, 8
0000497E A024 syscall SetHandleSize
00004980 2004 move.l D0, D4
00004982 7603 moveq.l D3, 0x03
00004984 E6A8 lsr D0, D3
00004986 E7A8 lsl D0, D3
00004988 206D FA00 movea.l A0, [A5 - 0x600]
0000498C D090 add.l D0, [A0]
0000498E 2440 movea.l A2, D0
00004990 24AE 0008 move.l [A2], [A6 + 0x8]
00004994 356E 000C 0004 move.w [A2 + 0x4], [A6 + 0xC]
0000499A 156E 000E 0006 move.b [A2 + 0x6], [A6 + 0xE]
label000049A0:
000049A0 4CDF 0418 movem.l D3,D4,A2, [A7]+
000049A4 4E5E unlink A6
000049A6 4E75 rts
fn000049A8:
000049A8 4E56 FEE8 link A6, -0x0118
000049AC 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000049B0 3E2E 0010 move.w D7, [A6 + 0x10]
000049B4 286E 0016 movea.l A4, [A6 + 0x16]
000049B8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000049BC 486E FEEC pea.l [A6 - 0x114]
000049C0 486E FEF0 pea.l [A6 - 0x110]
000049C4 486E FEF4 pea.l [A6 - 0x10C]
000049C8 A9A8 syscall GetResInfo
000049CA 6000 0210 bra +0x212 /* 00004BDC */
label000049CE:
000049CE 246E 000C movea.l A2, [A6 + 0xC]
000049D2 4A52 tst.w [A2]
000049D4 6600 01EE bne +0x1F0 /* 00004BC4 */
000049D8 302A 0002 move.w D0, [A2 + 0x2]
000049DC 1D40 FFF4 move.b [A6 - 0xC], D0
000049E0 7200 moveq.l D1, 0x00
000049E2 1200 move.b D1, D0
000049E4 2F01 move.l -[A7], D1
000049E6 302E FEEC move.w D0, [A6 - 0x114]
000049EA 48C0 ext.l D0
000049EC 2F00 move.l -[A7], D0
000049EE 2F2E 0012 move.l -[A7], [A6 + 0x12]
000049F2 303C 0242 move.w D0, 0x242
000049F6 A832 syscall QuickDrawGX
000049F8 4FEF 000C lea.l A7, [A7 + 0xC]
000049FC 102D FD16 move.b D0, [A5 - 0x2EA]
00004A00 660C bne +0xE /* 00004A0E */
00004A02 554F subq.w A7, 2
00004A04 42A7 clr.l -[A7]
00004A06 303C 0205 move.w D0, 0x205
00004A0A ABF2 syscall ThreadDispatch
00004A0C 544F addq.w A7, 2
label00004A0E:
00004A0E 2F2E 0012 move.l -[A7], [A6 + 0x12]
00004A12 303C 010A move.w D0, 0x10A
00004A16 A832 syscall QuickDrawGX
00004A18 584F addq.w A7, 4
00004A1A 2640 movea.l A3, D0
00004A1C 200B move.l D0, A3
00004A1E 6722 beq +0x24 /* 00004A42 */
00004A20 42A7 clr.l -[A7]
00004A22 42A7 clr.l -[A7]
00004A24 7601 moveq.l D3, 0x01
00004A26 2F03 move.l -[A7], D3
00004A28 2F03 move.l -[A7], D3
00004A2A 7602 moveq.l D3, 0x02
00004A2C 2F03 move.l -[A7], D3
00004A2E 2F03 move.l -[A7], D3
00004A30 2F0B move.l -[A7], A3
00004A32 303C 0216 move.w D0, 0x216
00004A36 A832 syscall QuickDrawGX
00004A38 4FEF 001C lea.l A7, [A7 + 0x1C]
00004A3C 2D40 FEE8 move.l [A6 - 0x118], D0
00004A40 6006 bra +0x8 /* 00004A48 */
label00004A42:
00004A42 7000 moveq.l D0, 0x00
00004A44 2D40 FEE8 move.l [A6 - 0x118], D0
label00004A48:
00004A48 102D FD16 move.b D0, [A5 - 0x2EA]
00004A4C 660C bne +0xE /* 00004A5A */
00004A4E 554F subq.w A7, 2
00004A50 42A7 clr.l -[A7]
00004A52 303C 0205 move.w D0, 0x205
00004A56 ABF2 syscall ThreadDispatch
00004A58 544F addq.w A7, 2
label00004A5A:
00004A5A 202E FEE8 move.l D0, [A6 - 0x118]
00004A5E 6700 0164 beq +0x166 /* 00004BC4 */
00004A62 202E FEE8 move.l D0, [A6 - 0x118]
00004A66 5280 addq.l D0, 1
00004A68 A11E syscall NewPtr, flags=1
00004A6A 2448 movea.l A2, A0
00004A6C 200A move.l D0, A2
00004A6E 6700 0154 beq +0x156 /* 00004BC4 */
00004A72 1F2E FFF4 move.b -[A7], [A6 - 0xC]
00004A76 3F2E FEEC move.w -[A7], [A6 - 0x114]
00004A7A 2F0B move.l -[A7], A3
00004A7C 4EBA FED0 jsr [PC - 0x130 /* 0000494E */]
00004A80 504F addq.w A7, 8
00004A82 42A7 clr.l -[A7]
00004A84 204A movea.l A0, A2
00004A86 5248 addq.w A0, 1
00004A88 2F08 move.l -[A7], A0
00004A8A 7001 moveq.l D0, 0x01
00004A8C 2F00 move.l -[A7], D0
00004A8E 2F00 move.l -[A7], D0
00004A90 7602 moveq.l D3, 0x02
00004A92 2F03 move.l -[A7], D3
00004A94 2F03 move.l -[A7], D3
00004A96 2F0B move.l -[A7], A3
00004A98 303C 0216 move.w D0, 0x216
00004A9C A832 syscall QuickDrawGX
00004A9E 4FEF 001C lea.l A7, [A7 + 0x1C]
00004AA2 14AE FEEB move.b [A2], [A6 - 0x115]
00004AA6 2F0A move.l -[A7], A2
00004AA8 2F0C move.l -[A7], A4
00004AAA 4EBA FDEE jsr [PC - 0x212 /* 0000489A */]
00004AAE 504F addq.w A7, 8
00004AB0 3C00 move.w D6, D0
00004AB2 2F0C move.l -[A7], A4
00004AB4 3F06 move.w -[A7], D6
00004AB6 486E FFFC pea.l [A6 - 0x4]
00004ABA A943 syscall GetItmMark
00004ABC 302E FFFC move.w D0, [A6 - 0x4]
00004AC0 662A bne +0x2C /* 00004AEC */
00004AC2 42A7 clr.l -[A7]
00004AC4 70FF moveq.l D0, 0xFFFFFFFF
00004AC6 2F00 move.l -[A7], D0
00004AC8 7001 moveq.l D0, 0x01
00004ACA 2F00 move.l -[A7], D0
00004ACC 42A7 clr.l -[A7]
00004ACE 42A7 clr.l -[A7]
00004AD0 42A7 clr.l -[A7]
00004AD2 42A7 clr.l -[A7]
00004AD4 42A7 clr.l -[A7]
00004AD6 42A7 clr.l -[A7]
00004AD8 2F0B move.l -[A7], A3
00004ADA 303C 020A move.w D0, 0x20A
00004ADE A832 syscall QuickDrawGX
00004AE0 4FEF 0028 lea.l A7, [A7 + 0x28]
00004AE4 7201 moveq.l D1, 0x01
00004AE6 B081 cmp.l D0, D1
00004AE8 6F00 00D6 ble +0xD8 /* 00004BC0 */
label00004AEC:
00004AEC 102D FD16 move.b D0, [A5 - 0x2EA]
00004AF0 660C bne +0xE /* 00004AFE */
00004AF2 554F subq.w A7, 2
00004AF4 42A7 clr.l -[A7]
00004AF6 303C 0205 move.w D0, 0x205
00004AFA ABF2 syscall ThreadDispatch
00004AFC 544F addq.w A7, 2
label00004AFE:
00004AFE 302E FFFC move.w D0, [A6 - 0x4]
00004B02 661A bne +0x1C /* 00004B1E */
00004B04 594F subq.w A7, 4
00004B06 206E 001A movea.l A0, [A6 + 0x1A]
00004B0A 3010 move.w D0, [A0]
00004B0C 0640 00C8 addi.w D0, 0xC8
00004B10 3F00 move.w -[A7], D0
00004B12 2F0A move.l -[A7], A2
00004B14 A931 syscall NewMenu
00004B16 201F move.l D0, [A7]+
00004B18 2D40 FFF8 move.l [A6 - 0x8], D0
00004B1C 600E bra +0x10 /* 00004B2C */
label00004B1E:
00004B1E 594F subq.w A7, 4
00004B20 3F2E FFFC move.w -[A7], [A6 - 0x4]
00004B24 A949 syscall GetMenuHandle
00004B26 201F move.l D0, [A7]+
00004B28 2D40 FFF8 move.l [A6 - 0x8], D0
label00004B2C:
00004B2C 204A movea.l A0, A2
00004B2E A01F syscall DisposPtr/DisposePtr
00004B30 42A7 clr.l -[A7]
00004B32 42A7 clr.l -[A7]
00004B34 7601 moveq.l D3, 0x01
00004B36 2F03 move.l -[A7], D3
00004B38 2F03 move.l -[A7], D3
00004B3A 7802 moveq.l D4, 0x02
00004B3C 2F04 move.l -[A7], D4
00004B3E 7A03 moveq.l D5, 0x03
00004B40 2F05 move.l -[A7], D5
00004B42 2F0B move.l -[A7], A3
00004B44 303C 0216 move.w D0, 0x216
00004B48 A832 syscall QuickDrawGX
00004B4A 4FEF 001C lea.l A7, [A7 + 0x1C]
00004B4E 2D40 FEE8 move.l [A6 - 0x118], D0
00004B52 4A80 tst.l D0
00004B54 673A beq +0x3C /* 00004B90 */
00004B56 5280 addq.l D0, 1
00004B58 A11E syscall NewPtr, flags=1
00004B5A 2448 movea.l A2, A0
00004B5C 200A move.l D0, A2
00004B5E 6730 beq +0x32 /* 00004B90 */
00004B60 42A7 clr.l -[A7]
00004B62 204A movea.l A0, A2
00004B64 5248 addq.w A0, 1
00004B66 2F08 move.l -[A7], A0
00004B68 2F03 move.l -[A7], D3
00004B6A 2F03 move.l -[A7], D3
00004B6C 2F04 move.l -[A7], D4
00004B6E 2F05 move.l -[A7], D5
00004B70 2F0B move.l -[A7], A3
00004B72 303C 0216 move.w D0, 0x216
00004B76 A832 syscall QuickDrawGX
00004B78 4FEF 001C lea.l A7, [A7 + 0x1C]
00004B7C 14AE FEEB move.b [A2], [A6 - 0x115]
00004B80 2F0A move.l -[A7], A2
00004B82 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00004B86 4EBA FD12 jsr [PC - 0x2EE /* 0000489A */]
00004B8A 504F addq.w A7, 8
00004B8C 204A movea.l A0, A2
00004B8E A01F syscall DisposPtr/DisposePtr
label00004B90:
00004B90 302E FFFC move.w D0, [A6 - 0x4]
00004B94 662E bne +0x30 /* 00004BC4 */
00004B96 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00004B9A 70FF moveq.l D0, 0xFFFFFFFF
00004B9C 3F00 move.w -[A7], D0
00004B9E A935 syscall InsertMenu
00004BA0 2F0C move.l -[A7], A4
00004BA2 3F06 move.w -[A7], D6
00004BA4 701B moveq.l D0, 0x1B
00004BA6 3F00 move.w -[A7], D0
00004BA8 A84F syscall SetItemCmd
00004BAA 2F0C move.l -[A7], A4
00004BAC 3F06 move.w -[A7], D6
00004BAE 246E 001A movea.l A2, [A6 + 0x1A]
00004BB2 3012 move.w D0, [A2]
00004BB4 0640 00C8 addi.w D0, 0xC8
00004BB8 3F00 move.w -[A7], D0
00004BBA A944 syscall SetItmMark
00004BBC 5252 addq.w [A2], 1
00004BBE 6004 bra +0x6 /* 00004BC4 */
label00004BC0:
00004BC0 204A movea.l A0, A2
00004BC2 A01F syscall DisposPtr/DisposePtr
label00004BC4:
00004BC4 5CAE 000C addq.l [A6 + 0xC], 6
00004BC8 102D FD16 move.b D0, [A5 - 0x2EA]
00004BCC 660C bne +0xE /* 00004BDA */
00004BCE 554F subq.w A7, 2
00004BD0 42A7 clr.l -[A7]
00004BD2 303C 0205 move.w D0, 0x205
00004BD6 ABF2 syscall ThreadDispatch
00004BD8 544F addq.w A7, 2
label00004BDA:
00004BDA 5347 subq.w D7, 1
label00004BDC:
00004BDC 0C47 0000 cmpi.w D7, 0x0
00004BE0 6A00 FDEC bpl -0x212 /* 000049CE */
00004BE4 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00004BE8 4E5E unlink A6
00004BEA 4E75 rts
export_26:
00004BEC 4E56 FFF0 link A6, -0x0010
00004BF0 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00004BF4 246E 0008 movea.l A2, [A6 + 0x8]
00004BF8 4240 clr.w D0
00004BFA 3D40 FFF4 move.w [A6 - 0xC], D0
00004BFE 422E FFFC clr.b [A6 - 0x4]
00004C02 303C 009F move.w D0, 0x9F
00004C06 A832 syscall QuickDrawGX
00004C08 2D40 FFF8 move.l [A6 - 0x8], D0
00004C0C 554F subq.w A7, 2
00004C0E 2F3C 464F 4E44 move.l -[A7], 0x464F4E44 /* 'FOND' */
00004C14 A99C syscall CountResources
00004C16 381F move.w D4, [A7]+
00004C18 48C4 ext.l D4
00004C1A 7001 moveq.l D0, 0x01
00004C1C 2D40 FFF0 move.l [A6 - 0x10], D0
00004C20 607A bra +0x7C /* 00004C9C */
label00004C22:
00004C22 594F subq.w A7, 4
00004C24 2F3C 464F 4E44 move.l -[A7], 0x464F4E44 /* 'FOND' */
00004C2A 3F2E FFF2 move.w -[A7], [A6 - 0xE]
00004C2E A99D syscall GetIndResource
00004C30 265F movea.l A3, [A7]+
00004C32 554F subq.w A7, 2
00004C34 A9AF syscall ResError
00004C36 301F move.w D0, [A7]+
00004C38 665E bne +0x60 /* 00004C98 */
00004C3A 200B move.l D0, A3
00004C3C 675A beq +0x5C /* 00004C98 */
00004C3E 4A93 tst.l [A3]
00004C40 6756 beq +0x58 /* 00004C98 */
label00004C42:
00004C42 2853 movea.l A4, [A3]
00004C44 7034 moveq.l D0, 0x34
00004C46 D9C0 add.l A4, D0
00004C48 361C move.w D3, [A4]+
00004C4A 486E FFF4 pea.l [A6 - 0xC]
00004C4E 2F0A move.l -[A7], A2
00004C50 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00004C54 3F03 move.w -[A7], D3
00004C56 2F0C move.l -[A7], A4
00004C58 2F0B move.l -[A7], A3
00004C5A 4EBA FD4C jsr [PC - 0x2B4 /* 000049A8 */]
00004C5E 4FEF 0016 lea.l A7, [A7 + 0x16]
00004C62 102E FFFC move.b D0, [A6 - 0x4]
00004C66 6622 bne +0x24 /* 00004C8A */
00004C68 554F subq.w A7, 2
00004C6A 2F0A move.l -[A7], A2
00004C6C A950 syscall CountMItems
00004C6E 301F move.w D0, [A7]+
00004C70 6F18 ble +0x1A /* 00004C8A */
00004C72 4227 clr.b -[A7]
00004C74 7601 moveq.l D3, 0x01
00004C76 1F03 move.b -[A7], D3
00004C78 594F subq.w A7, 4
00004C7A A924 syscall FrontWindow
00004C7C 201F move.l D0, [A7]+
00004C7E 2F00 move.l -[A7], D0
00004C80 4EBA CE2A jsr [PC - 0x31D6 /* 00001AAC */]
00004C84 504F addq.w A7, 8
00004C86 1D43 FFFC move.b [A6 - 0x4], D3
label00004C8A:
00004C8A 594F subq.w A7, 4
00004C8C 2F0B move.l -[A7], A3
00004C8E 700A moveq.l D0, 0x0A
00004C90 A822 syscall ResourceDispatch
00004C92 265F movea.l A3, [A7]+
00004C94 200B move.l D0, A3
00004C96 66AA bne -0x54 /* 00004C42 */
label00004C98:
00004C98 52AE FFF0 addq.l [A6 - 0x10], 1
label00004C9C:
00004C9C 202E FFF0 move.l D0, [A6 - 0x10]
00004CA0 B084 cmp.l D0, D4
00004CA2 6F00 FF7E ble -0x80 /* 00004C22 */
00004CA6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00004CAA 303C 00A9 move.w D0, 0xA9
00004CAE A832 syscall QuickDrawGX
00004CB0 584F addq.w A7, 4
00004CB2 7000 moveq.l D0, 0x00
00004CB4 2B40 FD20 move.l [A5 - 0x2E0], D0
00004CB8 7000 moveq.l D0, 0x00
00004CBA 2D40 000C move.l [A6 + 0xC], D0
00004CBE 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00004CC2 4E5E unlink A6
00004CC4 205F movea.l A0, [A7]+
00004CC6 584F addq.w A7, 4
00004CC8 4ED0 jmp [A0]
export_27:
fn00004CCA:
00004CCA 102D FC38 move.b D0, [A5 - 0x3C8]
00004CCE 661A bne +0x1C /* 00004CEA */
00004CD0 594F subq.w A7, 4
00004CD2 3F3C 0080 move.w -[A7], 0x80
00004CD6 A949 syscall GetMenuHandle
00004CD8 201F move.l D0, [A7]+
00004CDA 2F00 move.l -[A7], D0
00004CDC 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00004CE2 A94D syscall AppendResMenu/AddResMenu
00004CE4 1B7C 0001 FC38 move.b [A5 - 0x3C8], 0x1
label00004CEA:
00004CEA 4E75 rts
fn00004CEC:
00004CEC 2F03 move.l -[A7], D3
00004CEE 486D 036A pea.l [A5 + 0x36A /* export_105 */]
00004CF2 A9F1 syscall UnloadSeg
00004CF4 A063 syscall MaxApplZone
00004CF6 A036 syscall MoreMasters
00004CF8 A036 syscall MoreMasters
00004CFA A036 syscall MoreMasters
00004CFC 4EAD 02FA jsr [A5 + 0x2FA /* export_91 */]
00004D00 3600 move.w D3, D0
00004D02 486D 02FA pea.l [A5 + 0x2FA /* export_91 */]
00004D06 A9F1 syscall UnloadSeg
00004D08 4A43 tst.w D3
00004D0A 6608 bne +0xA /* 00004D14 */
00004D0C 4EBA F1D4 jsr [PC - 0xE2C /* 00003EE2 */]
00004D10 4EAD 0302 jsr [A5 + 0x302 /* export_92 */]
label00004D14:
00004D14 7000 moveq.l D0, 0x00
00004D16 261F move.l D3, [A7]+
00004D18 4E75 rts
fn00004D1A:
00004D1A 4E56 FFE0 link A6, -0x0020
00004D1E 2F0A move.l -[A7], A2
00004D20 41ED FF18 lea.l A0, [A5 - 0xE8]
00004D24 43EE FFE0 lea.l A1, [A6 - 0x20]
00004D28 7007 moveq.l D0, 0x07
label00004D2A:
00004D2A 22D8 move.l [A1]+, [A0]+
00004D2C 51C8 FFFC dbf D0, -0x6 /* 00004D2A */
00004D30 2D6E 000C FFEC move.l [A6 - 0x14], [A6 + 0xC]
00004D36 2D6E 0008 FFF4 move.l [A6 - 0xC], [A6 + 0x8]
00004D3C 1D7C 0001 FFF1 move.b [A6 - 0xF], 0x1
00004D42 7020 moveq.l D0, 0x20
00004D44 A31E syscall NewPtrClear, flags=3
00004D46 2448 movea.l A2, A0
00004D48 200A move.l D0, A2
00004D4A 670A beq +0xC /* 00004D56 */
00004D4C 41EE FFE0 lea.l A0, [A6 - 0x20]
00004D50 224A movea.l A1, A2
00004D52 7020 moveq.l D0, 0x20
00004D54 A02E syscall BlockMove/BlockMoveData
label00004D56:
00004D56 200A move.l D0, A2
00004D58 245F movea.l A2, [A7]+
00004D5A 4E5E unlink A6
00004D5C 4E75 rts
fn00004D5E:
00004D5E 4E56 FEF0 link A6, -0x0110
00004D62 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00004D66 203C 7164 3364 move.l D0, 0x71643364 /* 'qd3d' */
00004D6C 43EE FEF0 lea.l A1, [A6 - 0x110]
00004D70 A1AD syscall Gestalt, flags=1
00004D72 2288 move.l [A1], A0
00004D74 4A40 tst.w D0
00004D76 6600 0314 bne +0x316 /* 0000508C */
00004D7A 203C 7379 7361 move.l D0, 0x73797361 /* 'sysa' */
00004D80 43EE FEF0 lea.l A1, [A6 - 0x110]
00004D84 A1AD syscall Gestalt, flags=1
00004D86 2288 move.l [A1], A0
00004D88 4A40 tst.w D0
00004D8A 6600 0300 bne +0x302 /* 0000508C */
00004D8E 0CAE 0000 0002 FEF0 cmpi.l [A6 - 0x110], 0x2
00004D96 6600 02F4 bne +0x2F6 /* 0000508C */
00004D9A 7A00 moveq.l D5, 0x00
00004D9C 554F subq.w A7, 2
00004D9E 487A 02F6 pea.l [PC + 0x2F6 /* 00005096, value 0xD514433 '\rQD3', pstring "QD3DViewerLib" */]
00004DA2 2F3C 7077 7063 move.l -[A7], 0x70777063 /* 'pwpc' */
00004DA8 7001 moveq.l D0, 0x01
00004DAA 2F00 move.l -[A7], D0
00004DAC 486E FEF8 pea.l [A6 - 0x108]
00004DB0 486E FEFC pea.l [A6 - 0x104]
00004DB4 486E FF00 pea.l [A6 - 0x100]
00004DB8 3F3C 0001 move.w -[A7], 0x1
00004DBC AA5A syscall CodeFragmentDispatch
00004DBE 301F move.w D0, [A7]+
00004DC0 6600 0290 bne +0x292 /* 00005052 */
00004DC4 554F subq.w A7, 2
00004DC6 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004DCA 487A 046A pea.l [PC + 0x46A /* 00005236, value 0xB513356, pstring "Q3ViewerNew" */]
00004DCE 2005 move.l D0, D5
00004DD0 5285 addq.l D5, 1
00004DD2 7603 moveq.l D3, 0x03
00004DD4 E7A0 asl D0, D3
00004DD6 45ED FE64 lea.l A2, [A5 - 0x19C]
00004DDA D08A add.l D0, A2
00004DDC 2F00 move.l -[A7], D0
00004DDE 486E FEF4 pea.l [A6 - 0x10C]
00004DE2 3F3C 0005 move.w -[A7], 0x5
00004DE6 AA5A syscall CodeFragmentDispatch
00004DE8 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004DEC 487A 0436 pea.l [PC + 0x436 /* 00005224, value 0xF513356, pstring "Q3ViewerDispose" */]
00004DF0 2005 move.l D0, D5
00004DF2 5285 addq.l D5, 1
00004DF4 E7A0 asl D0, D3
00004DF6 D08A add.l D0, A2
00004DF8 2F00 move.l -[A7], D0
00004DFA 486E FEF4 pea.l [A6 - 0x10C]
00004DFE 3F3C 0005 move.w -[A7], 0x5
00004E02 AA5A syscall CodeFragmentDispatch
00004E04 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E08 487A 0408 pea.l [PC + 0x408 /* 00005212, value 0xF513356, pstring "Q3ViewerUseFile" */]
00004E0C 2005 move.l D0, D5
00004E0E 5285 addq.l D5, 1
00004E10 E7A0 asl D0, D3
00004E12 D08A add.l D0, A2
00004E14 2F00 move.l -[A7], D0
00004E16 486E FEF4 pea.l [A6 - 0x10C]
00004E1A 3F3C 0005 move.w -[A7], 0x5
00004E1E AA5A syscall CodeFragmentDispatch
00004E20 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E24 487A 03DA pea.l [PC + 0x3DA /* 00005200, value 0xF513356, pstring "Q3ViewerUseData" */]
00004E28 2005 move.l D0, D5
00004E2A 5285 addq.l D5, 1
00004E2C E7A0 asl D0, D3
00004E2E D08A add.l D0, A2
00004E30 2F00 move.l -[A7], D0
00004E32 486E FEF4 pea.l [A6 - 0x10C]
00004E36 3F3C 0005 move.w -[A7], 0x5
00004E3A AA5A syscall CodeFragmentDispatch
00004E3C 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E40 487A 03AA pea.l [PC + 0x3AA /* 000051EC, value 0x11513356, pstring "Q3ViewerWriteFile" */]
00004E44 2005 move.l D0, D5
00004E46 5285 addq.l D5, 1
00004E48 E7A0 asl D0, D3
00004E4A D08A add.l D0, A2
00004E4C 2F00 move.l -[A7], D0
00004E4E 486E FEF4 pea.l [A6 - 0x10C]
00004E52 3F3C 0005 move.w -[A7], 0x5
00004E56 AA5A syscall CodeFragmentDispatch
00004E58 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E5C 487A 037A pea.l [PC + 0x37A /* 000051D8, value 0x11513356, pstring "Q3ViewerWriteData" */]
00004E60 2005 move.l D0, D5
00004E62 5285 addq.l D5, 1
00004E64 E7A0 asl D0, D3
00004E66 D08A add.l D0, A2
00004E68 2F00 move.l -[A7], D0
00004E6A 486E FEF4 pea.l [A6 - 0x10C]
00004E6E 3F3C 0005 move.w -[A7], 0x5
00004E72 AA5A syscall CodeFragmentDispatch
00004E74 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E78 487A 0350 pea.l [PC + 0x350 /* 000051CA, value 0xC513356, pstring "Q3ViewerDraw" */]
00004E7C 2005 move.l D0, D5
00004E7E 5285 addq.l D5, 1
00004E80 E7A0 asl D0, D3
00004E82 D08A add.l D0, A2
00004E84 2F00 move.l -[A7], D0
00004E86 486E FEF4 pea.l [A6 - 0x10C]
00004E8A 3F3C 0005 move.w -[A7], 0x5
00004E8E AA5A syscall CodeFragmentDispatch
00004E90 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004E94 487A 0322 pea.l [PC + 0x322 /* 000051B8, value 0xF513356, pstring "Q3ViewerGetPict" */]
00004E98 2005 move.l D0, D5
00004E9A 5285 addq.l D5, 1
00004E9C E7A0 asl D0, D3
00004E9E D08A add.l D0, A2
00004EA0 2F00 move.l -[A7], D0
00004EA2 486E FEF4 pea.l [A6 - 0x10C]
00004EA6 3F3C 0005 move.w -[A7], 0x5
00004EAA AA5A syscall CodeFragmentDispatch
00004EAC 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004EB0 487A 02EE pea.l [PC + 0x2EE /* 000051A0, value 0x15513356, pstring "Q3ViewerGetButtonRect" */]
00004EB4 2005 move.l D0, D5
00004EB6 5285 addq.l D5, 1
00004EB8 E7A0 asl D0, D3
00004EBA D08A add.l D0, A2
00004EBC 2F00 move.l -[A7], D0
00004EBE 486E FEF4 pea.l [A6 - 0x10C]
00004EC2 3F3C 0005 move.w -[A7], 0x5
00004EC6 AA5A syscall CodeFragmentDispatch
00004EC8 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004ECC 487A 02BC pea.l [PC + 0x2BC /* 0000518A, value 0x14513356, pstring "Q3ViewerGetDimension" */]
00004ED0 2005 move.l D0, D5
00004ED2 5285 addq.l D5, 1
00004ED4 E7A0 asl D0, D3
00004ED6 D08A add.l D0, A2
00004ED8 2F00 move.l -[A7], D0
00004EDA 486E FEF4 pea.l [A6 - 0x10C]
00004EDE 3F3C 0005 move.w -[A7], 0x5
00004EE2 AA5A syscall CodeFragmentDispatch
00004EE4 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004EE8 487A 028E pea.l [PC + 0x28E /* 00005178, value 0x10513356, pstring "Q3ViewerSetFlags" */]
00004EEC 2005 move.l D0, D5
00004EEE 5285 addq.l D5, 1
00004EF0 E7A0 asl D0, D3
00004EF2 D08A add.l D0, A2
00004EF4 2F00 move.l -[A7], D0
00004EF6 486E FEF4 pea.l [A6 - 0x10C]
00004EFA 3F3C 0005 move.w -[A7], 0x5
00004EFE AA5A syscall CodeFragmentDispatch
00004F00 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F04 487A 0260 pea.l [PC + 0x260 /* 00005166, value 0x10513356, pstring "Q3ViewerGetFlags" */]
00004F08 2005 move.l D0, D5
00004F0A 5285 addq.l D5, 1
00004F0C E7A0 asl D0, D3
00004F0E D08A add.l D0, A2
00004F10 2F00 move.l -[A7], D0
00004F12 486E FEF4 pea.l [A6 - 0x10C]
00004F16 3F3C 0005 move.w -[A7], 0x5
00004F1A AA5A syscall CodeFragmentDispatch
00004F1C 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F20 487A 0230 pea.l [PC + 0x230 /* 00005152, value 0x11513356, pstring "Q3ViewerSetBounds" */]
00004F24 2005 move.l D0, D5
00004F26 5285 addq.l D5, 1
00004F28 E7A0 asl D0, D3
00004F2A D08A add.l D0, A2
00004F2C 2F00 move.l -[A7], D0
00004F2E 486E FEF4 pea.l [A6 - 0x10C]
00004F32 3F3C 0005 move.w -[A7], 0x5
00004F36 AA5A syscall CodeFragmentDispatch
00004F38 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F3C 487A 0200 pea.l [PC + 0x200 /* 0000513E, value 0x11513356, pstring "Q3ViewerGetBounds" */]
00004F40 2005 move.l D0, D5
00004F42 5285 addq.l D5, 1
00004F44 E7A0 asl D0, D3
00004F46 D08A add.l D0, A2
00004F48 2F00 move.l -[A7], D0
00004F4A 486E FEF4 pea.l [A6 - 0x10C]
00004F4E 3F3C 0005 move.w -[A7], 0x5
00004F52 AA5A syscall CodeFragmentDispatch
00004F54 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F58 487A 01D2 pea.l [PC + 0x1D2 /* 0000512C, value 0xF513356, pstring "Q3ViewerSetPort" */]
00004F5C 2005 move.l D0, D5
00004F5E 5285 addq.l D5, 1
00004F60 E7A0 asl D0, D3
00004F62 D08A add.l D0, A2
00004F64 2F00 move.l -[A7], D0
00004F66 486E FEF4 pea.l [A6 - 0x10C]
00004F6A 3F3C 0005 move.w -[A7], 0x5
00004F6E AA5A syscall CodeFragmentDispatch
00004F70 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F74 487A 01A4 pea.l [PC + 0x1A4 /* 0000511A, value 0xF513356, pstring "Q3ViewerGetPort" */]
00004F78 2005 move.l D0, D5
00004F7A 5285 addq.l D5, 1
00004F7C E7A0 asl D0, D3
00004F7E D08A add.l D0, A2
00004F80 2F00 move.l -[A7], D0
00004F82 486E FEF4 pea.l [A6 - 0x10C]
00004F86 3F3C 0005 move.w -[A7], 0x5
00004F8A AA5A syscall CodeFragmentDispatch
00004F8C 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004F90 487A 0178 pea.l [PC + 0x178 /* 0000510A, value 0xD513356 '\rQ3V', pstring "Q3ViewerEvent" */]
00004F94 2005 move.l D0, D5
00004F96 5285 addq.l D5, 1
00004F98 E7A0 asl D0, D3
00004F9A D08A add.l D0, A2
00004F9C 2F00 move.l -[A7], D0
00004F9E 486E FEF4 pea.l [A6 - 0x10C]
00004FA2 3F3C 0005 move.w -[A7], 0x5
00004FA6 AA5A syscall CodeFragmentDispatch
00004FA8 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004FAC 487A 0146 pea.l [PC + 0x146 /* 000050F4, value 0x14513356, pstring "Q3ViewerAdjustCursor" */]
00004FB0 2005 move.l D0, D5
00004FB2 5285 addq.l D5, 1
00004FB4 E7A0 asl D0, D3
00004FB6 D08A add.l D0, A2
00004FB8 2F00 move.l -[A7], D0
00004FBA 486E FEF4 pea.l [A6 - 0x10C]
00004FBE 3F3C 0005 move.w -[A7], 0x5
00004FC2 AA5A syscall CodeFragmentDispatch
00004FC4 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004FC8 487A 0118 pea.l [PC + 0x118 /* 000050E2, value 0x10513356, pstring "Q3ViewerGetState" */]
00004FCC 2005 move.l D0, D5
00004FCE 5285 addq.l D5, 1
00004FD0 E7A0 asl D0, D3
00004FD2 D08A add.l D0, A2
00004FD4 2F00 move.l -[A7], D0
00004FD6 486E FEF4 pea.l [A6 - 0x10C]
00004FDA 3F3C 0005 move.w -[A7], 0x5
00004FDE AA5A syscall CodeFragmentDispatch
00004FE0 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00004FE4 487A 00EC pea.l [PC + 0xEC /* 000050D2, value 0xD513356 '\rQ3V', pstring "Q3ViewerClear" */]
00004FE8 2005 move.l D0, D5
00004FEA 5285 addq.l D5, 1
00004FEC E7A0 asl D0, D3
00004FEE D08A add.l D0, A2
00004FF0 2F00 move.l -[A7], D0
00004FF2 486E FEF4 pea.l [A6 - 0x10C]
00004FF6 3F3C 0005 move.w -[A7], 0x5
00004FFA AA5A syscall CodeFragmentDispatch
00004FFC 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00005000 487A 00C2 pea.l [PC + 0xC2 /* 000050C4, value 0xB513356, pstring "Q3ViewerCut" */]
00005004 2005 move.l D0, D5
00005006 5285 addq.l D5, 1
00005008 E7A0 asl D0, D3
0000500A D08A add.l D0, A2
0000500C 2F00 move.l -[A7], D0
0000500E 486E FEF4 pea.l [A6 - 0x10C]
00005012 3F3C 0005 move.w -[A7], 0x5
00005016 AA5A syscall CodeFragmentDispatch
00005018 2F2E FEF8 move.l -[A7], [A6 - 0x108]
0000501C 487A 0098 pea.l [PC + 0x98 /* 000050B6, value 0xC513356, pstring "Q3ViewerCopy" */]
00005020 2005 move.l D0, D5
00005022 5285 addq.l D5, 1
00005024 E7A0 asl D0, D3
00005026 D08A add.l D0, A2
00005028 2F00 move.l -[A7], D0
0000502A 486E FEF4 pea.l [A6 - 0x10C]
0000502E 3F3C 0005 move.w -[A7], 0x5
00005032 AA5A syscall CodeFragmentDispatch
00005034 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00005038 487A 006C pea.l [PC + 0x6C /* 000050A6, value 0xD513356 '\rQ3V', pstring "Q3ViewerPaste" */]
0000503C 2005 move.l D0, D5
0000503E 5285 addq.l D5, 1
00005040 E7A0 asl D0, D3
00005042 D08A add.l D0, A2
00005044 2F00 move.l -[A7], D0
00005046 486E FEF4 pea.l [A6 - 0x10C]
0000504A 3F3C 0005 move.w -[A7], 0x5
0000504E AA5A syscall CodeFragmentDispatch
00005050 544F addq.w A7, 2
label00005052:
00005052 4244 clr.w D4
00005054 6022 bra +0x24 /* 00005078 */
label00005056:
00005056 3604 move.w D3, D4
00005058 48C3 ext.l D3
0000505A E783 asl D3, 3
0000505C 41ED FE60 lea.l A0, [A5 - 0x1A0]
00005060 2F30 3000 move.l -[A7], [A0 + D3.w]
00005064 45ED FE64 lea.l A2, [A5 - 0x19C]
00005068 45F2 3000 lea.l A2, [A2 + D3.w]
0000506C 2F12 move.l -[A7], [A2]
0000506E 4EBA FCAA jsr [PC - 0x356 /* 00004D1A */]
00005072 504F addq.w A7, 8
00005074 2480 move.l [A2], D0
00005076 5244 addq.w D4, 1
label00005078:
00005078 3004 move.w D0, D4
0000507A 48C0 ext.l D0
0000507C B085 cmp.l D0, D5
0000507E 6DD6 blt -0x28 /* 00005056 */
00005080 202D FE64 move.l D0, [A5 - 0x19C]
00005084 6706 beq +0x8 /* 0000508C */
00005086 1B7C 0001 FD90 move.b [A5 - 0x270], 0x1
label0000508C:
0000508C 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00005090 4E5E unlink A6
00005092 4E75 rts
00005094 01AE 0D51 bclr [A6 + 0xD51], D0
00005098 4433 4456 neg.b [A3 + D4.w * 4 + 0x56]
0000509C 6965 bvs +0x67 /* 00005103 */
0000509E 7765 moveq.l D3, 0x65
000050A0 724C moveq.l D1, 0x4C
000050A2 6962 bvs +0x64 /* 00005106 */
000050A4 0000 0D51 ori.b D0, 0x51 /* 'Q' */
000050A8 3356 6965 move.w [A1 + 0x6965], [A6]
000050AC 7765 moveq.l D3, 0x65
000050AE 7250 moveq.l D1, 0x50
000050B0 6173 bsr +0x75 /* 00005125 */
000050B2 7465 moveq.l D2, 0x65
000050B4 0000 0C51 ori.b D0, 0x51 /* 'Q' */
000050B8 3356 6965 move.w [A1 + 0x6965], [A6]
000050BC 7765 moveq.l D3, 0x65
000050BE 7243 moveq.l D1, 0x43
000050C0 6F70 ble +0x72 /* 00005132 */
000050C2 7900 moveq.l D4, 0x00
000050C4 0B51 bchg [A1], D5
000050C6 3356 6965 move.w [A1 + 0x6965], [A6]
000050CA 7765 moveq.l D3, 0x65
000050CC 7243 moveq.l D1, 0x43
000050CE 7574 moveq.l D2, 0x74
000050D0 0000 0D51 ori.b D0, 0x51 /* 'Q' */
000050D4 3356 6965 move.w [A1 + 0x6965], [A6]
000050D8 7765 moveq.l D3, 0x65
000050DA 7243 moveq.l D1, 0x43
000050DC 6C65 bge +0x67 /* 00005143 */
000050DE 6172 bsr +0x74 /* 00005152 */
000050E0 0000 1051 ori.b D0, 0x51 /* 'Q' */
000050E4 3356 6965 move.w [A1 + 0x6965], [A6]
000050E8 7765 moveq.l D3, 0x65
000050EA 7247 moveq.l D1, 0x47
000050EC 6574 bcs +0x76 /* 00005162 */
000050EE 5374 6174 subq.w <<invalid full ext with I/IS == 4>>, 1
000050F2 6500 1451 bcs +0x1453 /* 00006545 */
000050F6 3356 6965 move.w [A1 + 0x6965], [A6]
000050FA 7765 moveq.l D3, 0x65
000050FC 7241 moveq.l D1, 0x41
000050FE 646A bcc +0x6C /* 0000516A */
00005100 7573 moveq.l D2, 0x73
00005102 7443 moveq.l D2, 0x43
00005104 7572 moveq.l D2, 0x72
label00005106:
00005106 736F moveq.l D1, 0x6F
00005108 7200 moveq.l D1, 0x00
0000510A 0D51 bchg [A1], D6
0000510C 3356 6965 move.w [A1 + 0x6965], [A6]
00005110 7765 moveq.l D3, 0x65
00005112 7245 moveq.l D1, 0x45
00005114 7665 moveq.l D3, 0x65
00005116 6E74 bgt +0x76 /* 0000518C */
00005118 0000 0F51 ori.b D0, 0x51 /* 'Q' */
0000511C 3356 6965 move.w [A1 + 0x6965], [A6]
00005120 7765 moveq.l D3, 0x65
00005122 7247 moveq.l D1, 0x47
00005124 6574 bcs +0x76 /* 0000519A */
00005126 506F 7274 addq.w [A7 + 0x7274], 8
0000512A 0000 0F51 ori.b D0, 0x51 /* 'Q' */
0000512E 3356 6965 move.w [A1 + 0x6965], [A6]
label00005132:
00005132 7765 moveq.l D3, 0x65
00005134 7253 moveq.l D1, 0x53
00005136 6574 bcs +0x76 /* 000051AC */
00005138 506F 7274 addq.w [A7 + 0x7274], 8
0000513C 0000 1151 ori.b D0, 0x51 /* 'Q' */
00005140 3356 6965 move.w [A1 + 0x6965], [A6]
00005144 7765 moveq.l D3, 0x65
00005146 7247 moveq.l D1, 0x47
00005148 6574 bcs +0x76 /* 000051BE */
0000514A 426F 756E clr.w [A7 + 0x756E]
0000514E 6473 bcc +0x75 /* 000051C3 */
00005150 0000 1151 ori.b D0, 0x51 /* 'Q' */
// begin alternate branch 00005152-00005158
fn00005152:
00005152 1151 3356 move.b [A0 + 0x3356], [A1]
00005156 6965 bvs +0x67 /* 000051BD */
// end alternate branch 00005152-00005158
fn00005152: // (misaligned)
00005154 3356 6965 move.w [A1 + 0x6965], [A6]
00005158 7765 moveq.l D3, 0x65
0000515A 7253 moveq.l D1, 0x53
0000515C 6574 bcs +0x76 /* 000051D2 */
0000515E 426F 756E clr.w [A7 + 0x756E]
label00005162:
00005162 6473 bcc +0x75 /* 000051D7 */
00005164 0000 1051 ori.b D0, 0x51 /* 'Q' */
00005168 3356 6965 move.w [A1 + 0x6965], [A6]
// begin alternate branch 0000516A-0000516C
label0000516A:
0000516A 6965 bvs +0x67 /* 000051D1 */
// end alternate branch 0000516A-0000516C
label0000516A: // (misaligned)
0000516C 7765 moveq.l D3, 0x65
0000516E 7247 moveq.l D1, 0x47
00005170 6574 bcs +0x76 /* 000051E6 */
00005172 466C 6167 not.w [A4 + 0x6167]
00005176 7300 moveq.l D1, 0x00
00005178 1051 movea.b A0, [A1]
0000517A 3356 6965 move.w [A1 + 0x6965], [A6]
0000517E 7765 moveq.l D3, 0x65
00005180 7253 moveq.l D1, 0x53
00005182 6574 bcs +0x76 /* 000051F8 */
00005184 466C 6167 not.w [A4 + 0x6167]
00005188 7300 moveq.l D1, 0x00
0000518A 1451 movea.b A2, [A1]
label0000518C:
0000518C 3356 6965 move.w [A1 + 0x6965], [A6]
00005190 7765 moveq.l D3, 0x65
00005192 7247 moveq.l D1, 0x47
00005194 6574 bcs +0x76 /* 0000520A */
00005196 4469 6D65 neg.w [A1 + 0x6D65]
label0000519A:
0000519A 6E73 bgt +0x75 /* 0000520F */
0000519C 696F bvs +0x71 /* 0000520D */
0000519E 6E00 1551 bgt +0x1553 /* 000066F1 */
000051A2 3356 6965 move.w [A1 + 0x6965], [A6]
000051A6 7765 moveq.l D3, 0x65
000051A8 7247 moveq.l D1, 0x47
000051AA 6574 bcs +0x76 /* 00005220 */
label000051AC:
000051AC 4275 7474 clr.w [A5 + D7.w * 4 + 0x74]
000051B0 6F6E ble +0x70 /* 00005220 */
000051B2 5265 addq.w -[A5], 1
000051B4 6374 bls +0x76 /* 0000522A */
000051B6 0000 0F51 ori.b D0, 0x51 /* 'Q' */
000051BA 3356 6965 move.w [A1 + 0x6965], [A6]
label000051BE:
000051BE 7765 moveq.l D3, 0x65
000051C0 7247 moveq.l D1, 0x47
000051C2 6574 bcs +0x76 /* 00005238 */
000051C4 5069 6374 addq.w [A1 + 0x6374], 8
000051C8 0000 0C51 ori.b D0, 0x51 /* 'Q' */
000051CC 3356 6965 move.w [A1 + 0x6965], [A6]
000051D0 7765 moveq.l D3, 0x65
label000051D2:
000051D2 7244 moveq.l D1, 0x44
000051D4 7261 moveq.l D1, 0x61
000051D6 7700 moveq.l D3, 0x00
000051D8 1151 3356 move.b [A0 + 0x3356], [A1]
000051DC 6965 bvs +0x67 /* 00005243 */
000051DE 7765 moveq.l D3, 0x65
000051E0 7257 moveq.l D1, 0x57
000051E2 7269 moveq.l D1, 0x69
000051E4 7465 moveq.l D2, 0x65
label000051E6:
000051E6 4461 neg.w -[A1]
000051E8 7461 moveq.l D2, 0x61
000051EA 0000 1151 ori.b D0, 0x51 /* 'Q' */
000051EE 3356 6965 move.w [A1 + 0x6965], [A6]
000051F2 7765 moveq.l D3, 0x65
000051F4 7257 moveq.l D1, 0x57
000051F6 7269 moveq.l D1, 0x69
label000051F8:
000051F8 7465 moveq.l D2, 0x65
000051FA 4669 6C65 not.w [A1 + 0x6C65]
000051FE 0000 0F51 ori.b D0, 0x51 /* 'Q' */
00005202 3356 6965 move.w [A1 + 0x6965], [A6]
00005206 7765 moveq.l D3, 0x65
00005208 7255 moveq.l D1, 0x55
label0000520A:
0000520A 7365 moveq.l D1, 0x65
0000520C 4461 neg.w -[A1]
0000520E 7461 moveq.l D2, 0x61
00005210 0000 0F51 ori.b D0, 0x51 /* 'Q' */
00005214 3356 6965 move.w [A1 + 0x6965], [A6]
00005218 7765 moveq.l D3, 0x65
0000521A 7255 moveq.l D1, 0x55
0000521C 7365 moveq.l D1, 0x65
0000521E 4669 6C65 not.w [A1 + 0x6C65]
// begin alternate branch 00005220-00005222
label00005220:
00005220 6C65 bge +0x67 /* 00005287 */
// end alternate branch 00005220-00005222
label00005220: // (misaligned)
00005222 0000 0F51 ori.b D0, 0x51 /* 'Q' */
00005226 3356 6965 move.w [A1 + 0x6965], [A6]
label0000522A:
0000522A 7765 moveq.l D3, 0x65
0000522C 7244 moveq.l D1, 0x44
0000522E 6973 bvs +0x75 /* 000052A3 */
00005230 706F moveq.l D0, 0x6F
00005232 7365 moveq.l D1, 0x65
00005234 0000 0B51 ori.b D0, 0x51 /* 'Q' */
label00005238:
00005238 3356 6965 move.w [A1 + 0x6965], [A6]
0000523C 7765 moveq.l D3, 0x65
0000523E 724E moveq.l D1, 0x4E
00005240 6577 bcs +0x79 /* 000052B9 */
00005242 0000 4E56 ori.b D0, 0x56 /* 'V' */
00005246 0000 206E ori.b D0, 0x6E /* 'n' */
0000524A 000C 2F28 ori.b A4, 0x28 /* '(' */
0000524E 0178 206D bchg [0x0000206D], D0
00005252 FE6C 4E90 .extension 0xE6C <<F/1/7>>, 0x4E90 // unimplemented
00005256 584F addq.w A7, 4
00005258 4240 clr.w D0
0000525A 4E5E unlink A6
0000525C 4E75 rts
0000525E 4E56 0000 link A6, 0
00005262 70FF moveq.l D0, 0xFFFFFFFF
00005264 206E 0014 movea.l A0, [A6 + 0x14]
00005268 3080 move.w [A0], D0
0000526A 4240 clr.w D0
0000526C 4E5E unlink A6
0000526E 4E75 rts
00005270 4E56 0000 link A6, 0
00005274 48E7 0018 movem.l -[A7], A3,A4
00005278 266E 000C movea.l A3, [A6 + 0xC]
0000527C 286E 0010 movea.l A4, [A6 + 0x10]
00005280 3014 move.w D0, [A4]
00005282 7208 moveq.l D1, 0x08
00005284 B041 cmp.w D0, D1
00005286 6648 bne +0x4A /* 000052D0 */
00005288 302C 000E move.w D0, [A4 + 0xE]
0000528C 7201 moveq.l D1, 0x01
0000528E C041 and.w D0, D1
00005290 6720 beq +0x22 /* 000052B2 */
00005292 2F2B 0178 move.l -[A7], [A3 + 0x178]
00005296 206D FEBC movea.l A0, [A5 - 0x144]
0000529A 4E90 jsr [A0]
0000529C 584F addq.w A7, 4
0000529E 7202 moveq.l D1, 0x02
000052A0 8081 or.l D0, D1
000052A2 2F00 move.l -[A7], D0
000052A4 2F2B 0178 move.l -[A7], [A3 + 0x178]
000052A8 206D FEB4 movea.l A0, [A5 - 0x14C]
000052AC 4E90 jsr [A0]
000052AE 504F addq.w A7, 8
000052B0 601E bra +0x20 /* 000052D0 */
label000052B2:
000052B2 2F2B 0178 move.l -[A7], [A3 + 0x178]
000052B6 206D FEBC movea.l A0, [A5 - 0x144]
000052BA 4E90 jsr [A0]
000052BC 584F addq.w A7, 4
000052BE 72FD moveq.l D1, 0xFFFFFFFD
000052C0 C081 and.l D0, D1
000052C2 2F00 move.l -[A7], D0
000052C4 2F2B 0178 move.l -[A7], [A3 + 0x178]
000052C8 206D FEB4 movea.l A0, [A5 - 0x14C]
000052CC 4E90 jsr [A0]
000052CE 504F addq.w A7, 8
label000052D0:
000052D0 2F0C move.l -[A7], A4
000052D2 2F2B 0178 move.l -[A7], [A3 + 0x178]
000052D6 206D FEE4 movea.l A0, [A5 - 0x11C]
000052DA 4E90 jsr [A0]
000052DC 504F addq.w A7, 8
000052DE 4CDF 1800 movem.l A3,A4, [A7]+
000052E2 4E5E unlink A6
000052E4 4E75 rts
000052E6 4E56 0000 link A6, 0
000052EA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000052EE 206E 000C movea.l A0, [A6 + 0xC]
000052F2 2F28 0178 move.l -[A7], [A0 + 0x178]
000052F6 206D FEEC movea.l A0, [A5 - 0x114]
000052FA 4E90 jsr [A0]
000052FC 504F addq.w A7, 8
000052FE 2F2E 0014 move.l -[A7], [A6 + 0x14]
00005302 A8DD syscall SetEmptyRgn
00005304 7064 moveq.l D0, 0x64
00005306 4E5E unlink A6
00005308 4E75 rts
0000530A 4E56 0000 link A6, 0
0000530E 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00005312 246E 000C movea.l A2, [A6 + 0xC]
00005316 266E 0010 movea.l A3, [A6 + 0x10]
0000531A 286E 0014 movea.l A4, [A6 + 0x14]
0000531E 76D5 moveq.l D3, 0xFFFFFFD5
00005320 487A 00CE pea.l [PC + 0xCE /* 000053F0, value 0x43616D65 'Came', cstring "Camera" */]
00005324 2F0C move.l -[A7], A4
00005326 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
0000532A 504F addq.w A7, 8
0000532C 4A80 tst.l D0
0000532E 6616 bne +0x18 /* 00005346 */
00005330 2F0B move.l -[A7], A3
00005332 7020 moveq.l D0, 0x20
00005334 2F00 move.l -[A7], D0
00005336 2F2A 0178 move.l -[A7], [A2 + 0x178]
0000533A 206D FEA4 movea.l A0, [A5 - 0x15C]
0000533E 4E90 jsr [A0]
00005340 4FEF 000C lea.l A7, [A7 + 0xC]
00005344 3600 move.w D3, D0
label00005346:
00005346 487A 00B0 pea.l [PC + 0xB0 /* 000053F8, value 0x54727563 'Truc', cstring "Truck" */]
0000534A 2F0C move.l -[A7], A4
0000534C 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
00005350 504F addq.w A7, 8
00005352 4A80 tst.l D0
00005354 6616 bne +0x18 /* 0000536C */
00005356 2F0B move.l -[A7], A3
00005358 7040 moveq.l D0, 0x40
0000535A 2F00 move.l -[A7], D0
0000535C 2F2A 0178 move.l -[A7], [A2 + 0x178]
00005360 206D FEA4 movea.l A0, [A5 - 0x15C]
00005364 4E90 jsr [A0]
00005366 4FEF 000C lea.l A7, [A7 + 0xC]
0000536A 3600 move.w D3, D0
label0000536C:
0000536C 487A 0090 pea.l [PC + 0x90 /* 000053FE, value 0x4F726269 'Orbi', cstring "Orbit" */]
00005370 2F0C move.l -[A7], A4
00005372 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
00005376 504F addq.w A7, 8
00005378 4A80 tst.l D0
0000537A 6618 bne +0x1A /* 00005394 */
0000537C 2F0B move.l -[A7], A3
0000537E 2F3C 0000 0080 move.l -[A7], 0x80
00005384 2F2A 0178 move.l -[A7], [A2 + 0x178]
00005388 206D FEA4 movea.l A0, [A5 - 0x15C]
0000538C 4E90 jsr [A0]
0000538E 4FEF 000C lea.l A7, [A7 + 0xC]
00005392 3600 move.w D3, D0
label00005394:
00005394 487A 006E pea.l [PC + 0x6E /* 00005404, value 0x5A6F6F6D 'Zoom', cstring "Zoom" */]
00005398 2F0C move.l -[A7], A4
0000539A 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
0000539E 504F addq.w A7, 8
000053A0 4A80 tst.l D0
000053A2 6618 bne +0x1A /* 000053BC */
000053A4 2F0B move.l -[A7], A3
000053A6 2F3C 0000 0100 move.l -[A7], 0x100
000053AC 2F2A 0178 move.l -[A7], [A2 + 0x178]
000053B0 206D FEA4 movea.l A0, [A5 - 0x15C]
000053B4 4E90 jsr [A0]
000053B6 4FEF 000C lea.l A7, [A7 + 0xC]
000053BA 3600 move.w D3, D0
label000053BC:
000053BC 487A 004C pea.l [PC + 0x4C /* 0000540A, value 0x446F6C6C 'Doll', cstring "Dolly" */]
000053C0 2F0C move.l -[A7], A4
000053C2 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
000053C6 504F addq.w A7, 8
000053C8 4A80 tst.l D0
000053CA 6618 bne +0x1A /* 000053E4 */
000053CC 2F0B move.l -[A7], A3
000053CE 2F3C 0000 0200 move.l -[A7], 0x200
000053D4 2F2A 0178 move.l -[A7], [A2 + 0x178]
000053D8 206D FEA4 movea.l A0, [A5 - 0x15C]
000053DC 4E90 jsr [A0]
000053DE 4FEF 000C lea.l A7, [A7 + 0xC]
000053E2 3600 move.w D3, D0
label000053E4:
000053E4 3003 move.w D0, D3
000053E6 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000053EA 4E5E unlink A6
000053EC 4E75 rts
000053EE 0020 4361 ori.b -[A0], 0x61 /* 'a' */
000053F2 6D65 blt +0x67 /* 00005459 */
000053F4 7261 moveq.l D1, 0x61
000053F6 0000 5472 ori.b D0, 0x72 /* 'r' */
000053FA 7563 moveq.l D2, 0x63
000053FC 6B00 4F72 bmi +0x4F74 /* 0000A370 */
00005400 6269 bhi +0x6B /* 0000546B */
00005402 7400 moveq.l D2, 0x00
00005404 5A6F 6F6D addq.w [A7 + 0x6F6D], 5
00005408 0000 446F ori.b D0, 0x6F /* 'o' */
0000540C 6C6C bge +0x6E /* 0000547A */
0000540E 7900 moveq.l D4, 0x00
fn00005410:
00005410 4E56 0000 link A6, 0
00005414 48E7 1810 movem.l -[A7], D3,D4,A3
00005418 266E 0010 movea.l A3, [A6 + 0x10]
0000541C 102D FD90 move.b D0, [A5 - 0x270]
00005420 6604 bne +0x6 /* 00005426 */
00005422 4EBA F93A jsr [PC - 0x6C6 /* 00004D5E */]
label00005426:
00005426 102D FD90 move.b D0, [A5 - 0x270]
0000542A 6726 beq +0x28 /* 00005452 */
0000542C 263C 3344 4D46 move.l D3, 0x33444D46 /* '3DMF' */
00005432 3013 move.w D0, [A3]
00005434 48C0 ext.l D0
00005436 7802 moveq.l D4, 0x02
00005438 E9A0 asl D0, D4
0000543A D0AE 0008 add.l D0, [A6 + 0x8]
0000543E 2040 movea.l A0, D0
00005440 2083 move.l [A0], D3
00005442 3013 move.w D0, [A3]
00005444 48C0 ext.l D0
00005446 E9A0 asl D0, D4
00005448 D0AE 000C add.l D0, [A6 + 0xC]
0000544C 2040 movea.l A0, D0
0000544E 2083 move.l [A0], D3
00005450 5253 addq.w [A3], 1
label00005452:
00005452 4CDF 0818 movem.l D3,D4,A3, [A7]+
00005456 4E5E unlink A6
00005458 4E75 rts
0000545A 4E56 0000 link A6, 0
0000545E 206E 000C movea.l A0, [A6 + 0xC]
00005462 2F28 0178 move.l -[A7], [A0 + 0x178]
00005466 206D FE94 movea.l A0, [A5 - 0x16C]
0000546A 4E90 jsr [A0]
0000546C 584F addq.w A7, 4
0000546E 4240 clr.w D0
00005470 4E5E unlink A6
00005472 4E75 rts
00005474 4E56 0000 link A6, 0
00005478 206E 000C movea.l A0, [A6 + 0xC]
// begin alternate branch 0000547A-00005486
label0000547A:
0000547A 000C 2F28 ori.b A4, 0x28 /* '(' */
0000547E 0178 206D bchg [0x0000206D], D0
00005482 FEF4 4E90 .extension 0xEF4 <<F/2-3/7>> // unimplemented
// end alternate branch 0000547A-00005486
label0000547A: // (misaligned)
0000547C 2F28 0178 move.l -[A7], [A0 + 0x178]
00005480 206D FEF4 movea.l A0, [A5 - 0x10C]
00005484 4E90 jsr [A0]
00005486 584F addq.w A7, 4
00005488 4A80 tst.l D0
0000548A 670A beq +0xC /* 00005496 */
0000548C 7016 moveq.l D0, 0x16
0000548E 3F00 move.w -[A7], D0
00005490 4EBA C46E jsr [PC - 0x3B92 /* 00001900 */]
00005494 544F addq.w A7, 2
label00005496:
00005496 4240 clr.w D0
00005498 4E5E unlink A6
0000549A 4E75 rts
0000549C 4E56 0000 link A6, 0
000054A0 48E7 1800 movem.l -[A7], D3,D4
000054A4 4243 clr.w D3
000054A6 206E 000C movea.l A0, [A6 + 0xC]
000054AA 2828 0178 move.l D4, [A0 + 0x178]
000054AE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000054B2 A873 syscall SetPort
000054B4 302E 0010 move.w D0, [A6 + 0x10]
000054B8 48C0 ext.l D0
000054BA 7216 moveq.l D1, 0x16
000054BC B081 cmp.l D0, D1
000054BE 6702 beq +0x4 /* 000054C2 */
000054C0 6010 bra +0x12 /* 000054D2 */
label000054C2:
000054C2 2F04 move.l -[A7], D4
000054C4 206D FF0C movea.l A0, [A5 - 0xF4]
000054C8 4E90 jsr [A0]
000054CA 584F addq.w A7, 4
000054CC 3600 move.w D3, D0
000054CE 6602 bne +0x4 /* 000054D2 */
000054D0 7664 moveq.l D3, 0x64
label000054D2:
000054D2 3003 move.w D0, D3
000054D4 4CDF 0018 movem.l D3,D4, [A7]+
000054D8 4E5E unlink A6
000054DA 4E75 rts
000054DC 4E56 0000 link A6, 0
000054E0 48E7 1810 movem.l -[A7], D3,D4,A3
000054E4 266E 000C movea.l A3, [A6 + 0xC]
000054E8 41FA FD5A lea.l A0, [PC - 0x2A6 /* 00005244, value 0x4E560000 'NV\0\0', cstring "NV" */]
000054EC 2748 00FE move.l [A3 + 0xFE], A0
000054F0 41FA FD7E lea.l A0, [PC - 0x282 /* 00005270, value 0x4E560000 'NV\0\0', cstring "NV" */]
000054F4 2748 0122 move.l [A3 + 0x122], A0
000054F8 41FA FD64 lea.l A0, [PC - 0x29C /* 0000525E, value 0x4E560000 'NV\0\0', cstring "NV" */]
000054FC 2748 0112 move.l [A3 + 0x112], A0
00005500 41FA FF58 lea.l A0, [PC - 0xA8 /* 0000545A, value 0x4E560000 'NV\0\0', cstring "NV" */]
00005504 2748 012A move.l [A3 + 0x12A], A0
00005508 41FA FF6A lea.l A0, [PC - 0x96 /* 00005474, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000550C 2748 0132 move.l [A3 + 0x132], A0
00005510 41FA FF8A lea.l A0, [PC - 0x76 /* 0000549C, value 0x4E560000 'NV\0\0', cstring "NV" */]
00005514 2748 013E move.l [A3 + 0x13E], A0
00005518 41FA FDCC lea.l A0, [PC - 0x234 /* 000052E6, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000551C 2748 010E move.l [A3 + 0x10E], A0
00005520 41FA FDE8 lea.l A0, [PC - 0x218 /* 0000530A, value 0x4E560000 'NV\0\0', cstring "NV" */]
00005524 2748 014A move.l [A3 + 0x14A], A0
00005528 422B 00F4 clr.b [A3 + 0xF4]
0000552C 2F3C 0000 02F6 move.l -[A7], 0x2F6
00005532 204B movea.l A0, A3
00005534 41E8 0154 lea.l A0, [A0 + 0x154]
00005538 2F08 move.l -[A7], A0
0000553A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000553E 206D FE64 movea.l A0, [A5 - 0x19C]
00005542 4E90 jsr [A0]
00005544 4FEF 000C lea.l A7, [A7 + 0xC]
00005548 2600 move.l D3, D0
0000554A 6604 bne +0x6 /* 00005550 */
0000554C 7894 moveq.l D4, 0xFFFFFF94
0000554E 6026 bra +0x28 /* 00005576 */
label00005550:
00005550 302B 00EA move.w D0, [A3 + 0xEA]
00005554 48C0 ext.l D0
00005556 2F00 move.l -[A7], D0
00005558 2F03 move.l -[A7], D3
0000555A 206D FE74 movea.l A0, [A5 - 0x18C]
0000555E 4E90 jsr [A0]
00005560 504F addq.w A7, 8
00005562 3800 move.w D4, D0
00005564 6606 bne +0x8 /* 0000556C */
00005566 2743 0178 move.l [A3 + 0x178], D3
0000556A 600A bra +0xC /* 00005576 */
label0000556C:
0000556C 2F03 move.l -[A7], D3
0000556E 206D FE6C movea.l A0, [A5 - 0x194]
00005572 4E90 jsr [A0]
00005574 584F addq.w A7, 4
label00005576:
00005576 3004 move.w D0, D4
00005578 4CDF 0818 movem.l D3,D4,A3, [A7]+
0000557C 4E5E unlink A6
0000557E 4E75 rts
00005580 4E56 0000 link A6, 0
00005584 2F0B move.l -[A7], A3
00005586 266E 0008 movea.l A3, [A6 + 0x8]
0000558A 16BC 0001 move.b [A3], 0x1
0000558E 41FA FF4C lea.l A0, [PC - 0xB4 /* 000054DC, value 0x4E560000 'NV\0\0', cstring "NV" */]
00005592 2748 000E move.l [A3 + 0xE], A0
00005596 377C 0320 0004 move.w [A3 + 0x4], 0x320
0000559C 277C 0000 017C 000A move.l [A3 + 0xA], 0x17C
000055A4 4240 clr.w D0
000055A6 265F movea.l A3, [A7]+
000055A8 4E5E unlink A6
000055AA 4E75 rts
export_28:
000055AC 48E7 6040 movem.l -[A7], D1,D2,A1
000055B0 42A7 clr.l -[A7]
000055B2 4EAD 030A jsr [A5 + 0x30A /* export_93 */]
000055B6 205F movea.l A0, [A7]+
000055B8 4CDF 0206 movem.l D1,D2,A1, [A7]+
000055BC 4E90 jsr [A0]
000055BE 48E7 6040 movem.l -[A7], D1,D2,A1
000055C2 4EAD 0312 jsr [A5 + 0x312 /* export_94 */]
000055C6 4CDF 0206 movem.l D1,D2,A1, [A7]+
000055CA 7001 moveq.l D0, 0x01
000055CC 4E75 rts
export_29:
000055CE 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000055D2 2F0C move.l -[A7], A4
000055D4 2F0B move.l -[A7], A3
000055D6 2F08 move.l -[A7], A0
000055D8 3F01 move.w -[A7], D1
000055DA 3F00 move.w -[A7], D0
000055DC 41ED 031A lea.l A0, [A5 + 0x31A /* export_95 */]
000055E0 4E90 jsr [A0]
000055E2 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000055E6 4E75 rts
fn000055E8:
000055E8 4E56 FE68 link A6, -0x0198
000055EC 2F07 move.l -[A7], D7
000055EE 4247 clr.w D7
000055F0 2D7C 0000 0192 FE6A move.l [A6 - 0x196], 0x192
000055F8 558F subq.l A7, 2
000055FA 2F2E 000C move.l -[A7], [A6 + 0xC]
000055FE 7001 moveq.l D0, 0x01
00005600 1F00 move.b -[A7], D0
00005602 486E FE68 pea.l [A6 - 0x198]
00005606 303C 0002 move.w D0, 0x2
0000560A AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
0000560C 3E1F move.w D7, [A7]+
0000560E 666A bne +0x6C /* 0000567A */
00005610 558F subq.l A7, 2
00005612 3F2E FE68 move.w -[A7], [A6 - 0x198]
00005616 486E FE6A pea.l [A6 - 0x196]
0000561A 486E FE6E pea.l [A6 - 0x192]
0000561E 4EBA 05F6 jsr [PC + 0x5F6 /* 00005C16 */]
00005622 3E1F move.w D7, [A7]+
00005624 6648 bne +0x4A /* 0000566E */
00005626 0CAE 0000 0192 FE6A cmpi.l [A6 - 0x196], 0x192
0000562E 663E bne +0x40 /* 0000566E */
00005630 7001 moveq.l D0, 0x01
00005632 B06E FE6E cmp.w D0, [A6 - 0x192]
00005636 6E36 bgt +0x38 /* 0000566E */
00005638 4A6E FE70 tst.w [A6 - 0x190]
0000563C 6D30 blt +0x32 /* 0000566E */
0000563E 202E FE7E move.l D0, [A6 - 0x182]
00005642 B0AE FE8A cmp.l D0, [A6 - 0x176]
00005646 6E26 bgt +0x28 /* 0000566E */
00005648 202E FE90 move.l D0, [A6 - 0x170]
0000564C B0AE FE8A cmp.l D0, [A6 - 0x176]
00005650 6E1C bgt +0x1E /* 0000566E */
00005652 202E FE94 move.l D0, [A6 - 0x16C]
00005656 B0AE FE8A cmp.l D0, [A6 - 0x176]
0000565A 6E12 bgt +0x14 /* 0000566E */
0000565C 206E 0008 movea.l A0, [A6 + 0x8]
00005660 43EE FE6E lea.l A1, [A6 - 0x192]
00005664 7063 moveq.l D0, 0x63
label00005666:
00005666 20D9 move.l [A0]+, [A1]+
00005668 51C8 FFFC dbf D0, -0x6 /* 00005666 */
0000566C 30D9 move.w [A0]+, [A1]+
label0000566E:
0000566E 558F subq.l A7, 2
00005670 3F2E FE68 move.w -[A7], [A6 - 0x198]
00005674 4EBA 0586 jsr [PC + 0x586 /* 00005BFC */]
00005678 3E1F move.w D7, [A7]+
label0000567A:
0000567A 3007 move.w D0, D7
0000567C 2E2E FE64 move.l D7, [A6 - 0x19C]
00005680 4E5E unlink A6
00005682 4E75 rts
00005684 8F41 4746 pack D7, D1, 0x4746
00005688 696C bvs +0x6E /* 000056F6 */
0000568A 6547 bcs +0x49 /* 000056D3 */
0000568C 6574 bcs +0x76 /* 00005702 */
0000568E 4865 pea.l -[A5]
00005690 6164 bsr +0x66 /* 000056F6 */
00005692 6572 bcs +0x74 /* 00005706 */
00005694 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005696-0000569E
fn00005696:
00005696 4E56 FE24 link A6, -0x01DC
0000569A 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
// end alternate branch 00005696-0000569E
fn00005696: // (misaligned)
00005698 FE24 48E7 .unknown 0xFE24 0x48E7 (W = 7)
0000569C 0F00 btst D0, D7
0000569E 3A2E 000A move.w D5, [A6 + 0xA]
000056A2 4244 clr.w D4
000056A4 7C01 moveq.l D6, 0x01
000056A6 4247 clr.w D7
000056A8 4A2E 0008 tst.b [A6 + 0x8]
000056AC 6708 beq +0xA /* 000056B6 */
000056AE 203C 6D69 786E move.l D0, 0x6D69786E /* 'mixn' */
000056B4 6006 bra +0x8 /* 000056BC */
label000056B6:
000056B6 203C 6865 6C70 move.l D0, 0x68656C70 /* 'help' */
label000056BC:
000056BC 2D40 FE6A move.l [A6 - 0x196], D0
label000056C0:
000056C0 486E FE24 pea.l [A6 - 0x1DC]
000056C4 486E FE6E pea.l [A6 - 0x192]
000056C8 48C6 ext.l D6
000056CA 2F06 move.l -[A7], D6
000056CC 2F2E FE6A move.l -[A7], [A6 - 0x196]
000056D0 2F2E 000C move.l -[A7], [A6 + 0xC]
000056D4 302E 0010 move.w D0, [A6 + 0x10]
000056D8 48C0 ext.l D0
000056DA 2F00 move.l -[A7], D0
000056DC 4EBA 016E jsr [PC + 0x16E /* 0000584C */]
000056E0 3E00 move.w D7, D0
000056E2 4FEF 0018 lea.l A7, [A7 + 0x18]
000056E6 660C bne +0xE /* 000056F4 */
000056E8 4A45 tst.w D5
000056EA 6706 beq +0x8 /* 000056F2 */
000056EC BA6E FE98 cmp.w D5, [A6 - 0x168]
000056F0 6602 bne +0x4 /* 000056F4 */
label000056F2:
000056F2 5244 addq.w D4, 1
label000056F4:
000056F4 3006 move.w D0, D6
fn000056F6:
000056F6 5246 addq.w D6, 1
000056F8 4A47 tst.w D7
000056FA 67C4 beq -0x3A /* 000056C0 */
000056FC 0C47 270F cmpi.w D7, 0x270F
00005700 67BE beq -0x40 /* 000056C0 */
label00005702:
00005702 3D44 0012 move.w [A6 + 0x12], D4
label00005706:
00005706 4CEE 00F0 FE14 movem.l D4,D5,D6,D7, [A6 - 0x1EC]
0000570C 4E5E unlink A6
0000570E 205F movea.l A0, [A7]+
00005710 4FEF 000A lea.l A7, [A7 + 0xA]
00005714 4ED0 jmp [A0]
00005716 9041 sub.w D0, D1
00005718 4746 chk.w D3, D6
0000571A 494C chk.w D4, A4
0000571C 4547 chk.w D2, D7
0000571E 4554 chk.w D2, [A4]
00005720 4442 neg.w D2
00005722 434F chk.w D1, A7
00005724 554E subq.w A6, 2
00005726 5400 addq.b D0, 2
00005728 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000572A-00005732
fn0000572A:
0000572A 4E56 FE6E link A6, -0x0192
0000572E 48E7 0300 movem.l -[A7], D6,D7
// end alternate branch 0000572A-00005732
fn0000572A: // (misaligned)
0000572C FE6E 48E7 .extension 0xE6E <<F/1/7>>, 0x48E7 // unimplemented
00005730 0300 btst D0, D1
00005732 2F2E 000C move.l -[A7], [A6 + 0xC]
00005736 486E FE6E pea.l [A6 - 0x192]
0000573A 4EBA FEAC jsr [PC - 0x154 /* 000055E8 */]
0000573E 3E00 move.w D7, D0
00005740 504F addq.w A7, 8
00005742 6624 bne +0x26 /* 00005768 */
00005744 7C00 moveq.l D6, 0x00
00005746 1C2E FE9C move.b D6, [A6 - 0x164]
0000574A 4A86 tst.l D6
0000574C 4A46 tst.w D6
0000574E 6F18 ble +0x1A /* 00005768 */
00005750 48C6 ext.l D6
00005752 2006 move.l D0, D6
00005754 5280 addq.l D0, 1
00005756 2F00 move.l -[A7], D0
00005758 486E FE9C pea.l [A6 - 0x164]
0000575C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005760 4EAD 0372 jsr [A5 + 0x372 /* export_106 */]
00005764 4FEF 000C lea.l A7, [A7 + 0xC]
label00005768:
00005768 3D47 0010 move.w [A6 + 0x10], D7
0000576C 4CEE 00C0 FE66 movem.l D6,D7, [A6 - 0x19A]
00005772 4E5E unlink A6
00005774 205F movea.l A0, [A7]+
00005776 504F addq.w A7, 8
00005778 4ED0 jmp [A0]
0000577A 9341 subx.w D1, D1
0000577C 4746 chk.w D3, D6
0000577E 494C chk.w D4, A4
00005780 4547 chk.w D2, D7
00005782 4554 chk.w D2, [A4]
00005784 4442 neg.w D2
00005786 4D45 chk.w D6, D5
00005788 4E55 4E41 link A5, -0xFFFFB1BF
0000578C 4D45 chk.w D6, D5
0000578E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005790-00005798
fn00005790:
00005790 4E56 FE22 link A6, -0x01DE
00005794 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
// end alternate branch 00005790-00005798
fn00005790: // (misaligned)
00005792 FE22 48E7 .unknown 0xFE22 0x48E7 (W = 7)
00005796 0F08 btst A0, D7
00005798 286E 0008 movea.l A4, [A6 + 0x8]
0000579C 382E 0010 move.w D4, [A6 + 0x10]
000057A0 4205 clr.b D5
000057A2 426E FE22 clr.w [A6 - 0x1DE]
000057A6 7C01 moveq.l D6, 0x01
000057A8 4247 clr.w D7
000057AA 4A2E 000E tst.b [A6 + 0xE]
000057AE 6708 beq +0xA /* 000057B8 */
000057B0 203C 6D69 786E move.l D0, 0x6D69786E /* 'mixn' */
000057B6 6006 bra +0x8 /* 000057BE */
label000057B8:
000057B8 203C 6865 6C70 move.l D0, 0x68656C70 /* 'help' */
label000057BE:
000057BE 2D40 FE24 move.l [A6 - 0x1DC], D0
label000057C2:
000057C2 486E FE28 pea.l [A6 - 0x1D8]
000057C6 486E FE6E pea.l [A6 - 0x192]
000057CA 48C6 ext.l D6
000057CC 2F06 move.l -[A7], D6
000057CE 2F2E FE24 move.l -[A7], [A6 - 0x1DC]
000057D2 2F2E 0012 move.l -[A7], [A6 + 0x12]
000057D6 302E 0016 move.w D0, [A6 + 0x16]
000057DA 48C0 ext.l D0
000057DC 2F00 move.l -[A7], D0
000057DE 4EBA 006C jsr [PC + 0x6C /* 0000584C */]
000057E2 3E00 move.w D7, D0
000057E4 4FEF 0018 lea.l A7, [A7 + 0x18]
000057E8 662A bne +0x2C /* 00005814 */
000057EA 4A44 tst.w D4
000057EC 6706 beq +0x8 /* 000057F4 */
000057EE B86E FE98 cmp.w D4, [A6 - 0x168]
000057F2 6620 bne +0x22 /* 00005814 */
label000057F4:
000057F4 526E FE22 addq.w [A6 - 0x1DE], 1
000057F8 302E FE22 move.w D0, [A6 - 0x1DE]
000057FC B06E 000C cmp.w D0, [A6 + 0xC]
00005800 6612 bne +0x14 /* 00005814 */
00005802 41EE FE28 lea.l A0, [A6 - 0x1D8]
00005806 224C movea.l A1, A4
00005808 7010 moveq.l D0, 0x10
label0000580A:
0000580A 22D8 move.l [A1]+, [A0]+
0000580C 51C8 FFFC dbf D0, -0x6 /* 0000580A */
00005810 32D8 move.w [A1]+, [A0]+
00005812 7A01 moveq.l D5, 0x01
label00005814:
00005814 3006 move.w D0, D6
00005816 5246 addq.w D6, 1
00005818 4A47 tst.w D7
0000581A 6706 beq +0x8 /* 00005822 */
0000581C 0C47 270F cmpi.w D7, 0x270F
00005820 6604 bne +0x6 /* 00005826 */
label00005822:
00005822 4A05 tst.b D5
00005824 679C beq -0x62 /* 000057C2 */
label00005826:
00005826 3D47 0018 move.w [A6 + 0x18], D7
0000582A 4CEE 10F0 FE0E movem.l D4,D5,D6,D7,A4, [A6 - 0x1F2]
00005830 4E5E unlink A6
00005832 205F movea.l A0, [A7]+
00005834 4FEF 0010 lea.l A7, [A7 + 0x10]
00005838 4ED0 jmp [A0]
0000583A 8E41 or.w D7, D1
0000583C 4746 chk.w D3, D6
0000583E 494C chk.w D4, A4
00005840 4547 chk.w D2, D7
00005842 4554 chk.w D2, [A4]
00005844 494E chk.w D4, A6
00005846 4444 neg.w D4
00005848 4200 clr.b D0
0000584A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000584C-00005854
fn0000584C:
0000584C 4E56 FE86 link A6, -0x017A
00005850 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
// end alternate branch 0000584C-00005854
fn0000584C: // (misaligned)
0000584E FE86 48E7 .extension 0xE86 <<F/2-3/7>> // unimplemented
00005852 0718 btst [A0]+, D3
00005854 47EE FE86 lea.l A3, [A6 - 0x17A]
00005858 2A2E 000C move.l D5, [A6 + 0xC]
0000585C 3C2E 000A move.w D6, [A6 + 0xA]
00005860 286E 001C movea.l A4, [A6 + 0x1C]
00005864 7000 moveq.l D0, 0x00
00005866 2D40 FF92 move.l [A6 - 0x6E], D0
0000586A 3D46 FF9C move.w [A6 - 0x64], D6
0000586E 2D45 FFB6 move.l [A6 - 0x4A], D5
00005872 2D4B FF98 move.l [A6 - 0x68], A3
00005876 3D6E 0016 FFA2 move.w [A6 - 0x5E], [A6 + 0x16]
0000587C 558F subq.l A7, 2
0000587E 486E FF86 pea.l [A6 - 0x7A]
00005882 7000 moveq.l D0, 0x00
00005884 1F00 move.b -[A7], D0
00005886 4EBA 045E jsr [PC + 0x45E /* 00005CE6 */]
0000588A 3E1F move.w D7, [A7]+
0000588C 663E bne +0x40 /* 000058CC */
0000588E 202E FFA6 move.l D0, [A6 - 0x5A]
00005892 B0AE 0010 cmp.l D0, [A6 + 0x10]
00005896 6630 bne +0x32 /* 000058C8 */
00005898 558F subq.l A7, 2
0000589A 3F06 move.w -[A7], D6
0000589C 2F05 move.l -[A7], D5
0000589E 2F0B move.l -[A7], A3
000058A0 2F0C move.l -[A7], A4
000058A2 303C 0001 move.w D0, 0x1
000058A6 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000058A8 3E1F move.w D7, [A7]+
000058AA 6620 bne +0x22 /* 000058CC */
000058AC 2F0C move.l -[A7], A4
000058AE 4EBA 0088 jsr [PC + 0x88 /* 00005938 */]
000058B2 3E00 move.w D7, D0
000058B4 584F addq.w A7, 4
000058B6 6614 bne +0x16 /* 000058CC */
000058B8 2F0C move.l -[A7], A4
000058BA 2F2E 0018 move.l -[A7], [A6 + 0x18]
000058BE 4EBA FD28 jsr [PC - 0x2D8 /* 000055E8 */]
000058C2 3E00 move.w D7, D0
000058C4 504F addq.w A7, 8
000058C6 6004 bra +0x6 /* 000058CC */
label000058C8:
000058C8 3E3C 270F move.w D7, 0x270F
label000058CC:
000058CC 3007 move.w D0, D7
000058CE 4CEE 18E0 FE72 movem.l D5,D6,D7,A3,A4, [A6 - 0x18E]
000058D4 4E5E unlink A6
000058D6 4E75 rts
000058D8 9041 sub.w D0, D1
000058DA 4746 chk.w D3, D6
000058DC 696C bvs +0x6E /* 0000594A */
000058DE 6547 bcs +0x49 /* 00005927 */
000058E0 6574 bcs +0x76 /* 00005956 */
000058E2 496E 6446 chk.w D4, [A6 + 0x6446]
000058E6 696C bvs +0x6E /* 00005954 */
000058E8 6500 0000 bcs +0x2 /* 000058EA */
// begin alternate branch 000058EA-000058F2
label000058EA:
000058EA 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000058EC: // (misaligned)
000058EE FE6E 2F07 .extension 0xE6E <<F/1/7>>, 0x2F07 // unimplemented
// end alternate branch 000058EA-000058F2
label000058EA: // (misaligned)
fn000058EC:
000058EC 4E56 FE6E link A6, -0x0192
000058F0 2F07 move.l -[A7], D7
000058F2 2F2E 000C move.l -[A7], [A6 + 0xC]
000058F6 486E FE6E pea.l [A6 - 0x192]
000058FA 4EBA FCEC jsr [PC - 0x314 /* 000055E8 */]
000058FE 3E00 move.w D7, D0
00005900 6608 bne +0xA /* 0000590A */
00005902 206E 0008 movea.l A0, [A6 + 0x8]
00005906 20AE FEF8 move.l [A0], [A6 - 0x108]
label0000590A:
0000590A 3D47 0010 move.w [A6 + 0x10], D7
0000590E 2E2E FE6A move.l D7, [A6 - 0x196]
00005912 4E5E unlink A6
00005914 205F movea.l A0, [A7]+
00005916 504F addq.w A7, 8
00005918 4ED0 jmp [A0]
0000591A 9B41 subx.w D5, D1
0000591C 4746 chk.w D3, D6
0000591E 494C chk.w D4, A4
00005920 4547 chk.w D2, D7
00005922 4554 chk.w D2, [A4]
00005924 4845 swap.w D5
00005926 4C50 4D45 movem.l D0,D2,D6,A0,A2,A3,A6, [A0]
0000592A 4E55 4150 link A5, -0xFFFFBEB0
0000592E 5043 addq.w D3, 8
00005930 5245 addq.w D5, 1
00005932 4154 chk.w D0, [A4]
00005934 4F52 chk.w D7, [A2]
00005936 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005938-0000593C
fn00005938:
00005938 4E56 FFFE link A6, -0x0002
// end alternate branch 00005938-0000593C
fn00005938: // (misaligned)
0000593A FFFE .invalid <<F/7/7>>
0000593C 2F07 move.l -[A7], D7
0000593E 7E01 moveq.l D7, 0x01
00005940 558F subq.l A7, 2
00005942 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005946 1F07 move.b -[A7], D7
00005948 486E FFFE pea.l [A6 - 0x2]
// begin alternate branch 0000594A-0000594C
label0000594A:
0000594A FFFE .invalid <<F/7/7>>
// end alternate branch 0000594A-0000594C
label0000594A: // (misaligned)
0000594C 486E FFFF pea.l [A6 - 0x1]
00005950 700C moveq.l D0, 0x0C
00005952 A823 syscall AliasDispatch
label00005954:
00005954 301F move.w D0, [A7]+
label00005956:
00005956 2E2E FFFA move.l D7, [A6 - 0x6]
0000595A 4E5E unlink A6
0000595C 4E75 rts
0000595E 8D41 4746 pack D6, D1, 0x4746
00005962 696C bvs +0x6E /* 000059D0 */
00005964 6552 bcs +0x54 /* 000059B8 */
00005966 6573 bcs +0x75 /* 000059DB */
00005968 6F6C ble +0x6E /* 000059D6 */
0000596A 7665 moveq.l D3, 0x65
0000596C 0000 5D8F ori.b D0, 0x8F
// begin alternate branch 0000596E-00005970
export_30:
fn0000596E:
0000596E 5D8F subq.l A7, 6
// end alternate branch 0000596E-00005970
export_30: // at 0000596E (misaligned)
fn0000596E: // (misaligned)
00005970 486F 0002 pea.l [A7 + 0x2]
00005974 303C 0203 move.w D0, 0x203
00005978 AA68 syscall DialogDispatch
0000597A 4A5F tst.w [A7]+
0000597C 6604 bne +0x6 /* 00005982 */
0000597E 205F movea.l A0, [A7]+
00005980 4ED0 jmp [A0]
label00005982:
00005982 205F movea.l A0, [A7]+
00005984 DEFC 000C add.w A7, 0xC
00005988 4257 clr.w [A7]
0000598A 4ED0 jmp [A0]
fn0000598C:
0000598C 4E56 0000 link A6, 0
00005990 203C 0000 A89F move.l D0, 0xA89F
00005996 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005998 2F08 move.l -[A7], A0
0000599A 203C 0000 A0AD move.l D0, 0xA0AD
000059A0 A346 syscall GetOSTrapAddress, flags=3
000059A2 B1DF cmpa.l A0, [A7]+
000059A4 670E beq +0x10 /* 000059B4 */
000059A6 202E 000C move.l D0, [A6 + 0xC]
000059AA A1AD syscall Gestalt, flags=1
000059AC 226E 0008 movea.l A1, [A6 + 0x8]
000059B0 2288 move.l [A1], A0
000059B2 6026 bra +0x28 /* 000059DA */
label000059B4:
000059B4 41FA 0036 lea.l A0, [PC + 0x36 /* 000059EC, value 0x76657273 'vers', cstring "vers" */]
label000059B8:
000059B8 303C EA51 move.w D0, 0xEA51
000059BC 222E 000C move.l D1, [A6 + 0xC]
label000059C0:
000059C0 B298 cmp.l D1, [A0]+
000059C2 6706 beq +0x8 /* 000059CA */
000059C4 4A98 tst.l [A0]+
000059C6 6712 beq +0x14 /* 000059DA */
000059C8 60F6 bra -0x8 /* 000059C0 */
label000059CA:
000059CA 43FA 0020 lea.l A1, [PC + 0x20 /* 000059EC, value 0x76657273 'vers', cstring "vers" */]
000059CE D3D0 add.l A1, [A0]
label000059D0:
000059D0 4ED1 jmp [A1]
label000059D2:
000059D2 226E 0008 movea.l A1, [A6 + 0x8]
label000059D6:
000059D6 2280 move.l [A1], D0
000059D8 4240 clr.w D0
label000059DA:
000059DA 3D40 0010 move.w [A6 + 0x10], D0
000059DE 4E5E unlink A6
000059E0 205F movea.l A0, [A7]+
000059E2 508F addq.l A7, 8
000059E4 4ED0 jmp [A0]
label000059E6:
000059E6 303C EA52 move.w D0, 0xEA52
000059EA 60EE bra -0x10 /* 000059DA */
000059EC 7665 moveq.l D3, 0x65
000059EE 7273 moveq.l D1, 0x73
000059F0 0000 0060 ori.b D0, 0x60 /* '`' */
000059F4 6D61 blt +0x63 /* 00005A57 */
000059F6 6368 bls +0x6A /* 00005A60 */
000059F8 0000 0064 ori.b D0, 0x64 /* 'd' */
000059FC 7379 moveq.l D1, 0x79
000059FE 7376 moveq.l D1, 0x76
00005A00 0000 0088 ori.b D0, 0x88
00005A04 7072 moveq.l D0, 0x72
00005A06 6F63 ble +0x65 /* 00005A6B */
00005A08 0000 0092 ori.b D0, 0x92
00005A0C 6670 bne +0x72 /* 00005A7E */
00005A0E 7520 moveq.l D2, 0x20
00005A10 0000 009E ori.b D0, 0x9E
00005A14 7164 moveq.l D0, 0x64
00005A16 2020 move.l D0, -[A0]
00005A18 0000 00E8 ori.b D0, 0xE8
00005A1C 6B62 bmi +0x64 /* 00005A80 */
00005A1E 6420 bcc +0x22 /* 00005A40 */
00005A20 0000 011A ori.b D0, 0x1A
00005A24 6174 bsr +0x76 /* 00005A9A */
00005A26 6C6B bge +0x6D /* 00005A93 */
00005A28 0000 0142 ori.b D0, 0x42 /* 'B' */
00005A2C 6D6D blt +0x6F /* 00005A9B */
00005A2E 7520 moveq.l D2, 0x20
00005A30 0000 0164 ori.b D0, 0x64 /* 'd' */
00005A34 7261 moveq.l D1, 0x61
00005A36 6D20 blt +0x22 /* 00005A58 */
00005A38 0000 0188 ori.b D0, 0x88
00005A3C 6C72 bge +0x74 /* 00005AB0 */
00005A3E 616D bsr +0x6F /* 00005AAD */
label00005A40:
00005A40 0000 0188 ori.b D0, 0x88
00005A44 0000 0000 ori.b D0, 0x0
00005A48 0000 0000 ori.b D0, 0x0
00005A4C 7001 moveq.l D0, 0x01
00005A4E 6082 bra -0x7C /* 000059D2 */
00005A50 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00005A54 7004 moveq.l D0, 0x04
00005A56 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00005A58-00005A60
label00005A58:
00005A58 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00005A58-00005A60
label00005A58: // (misaligned)
00005A5C 6712 beq +0x14 /* 00005A70 */
00005A5E 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00005A60-00005A66
label00005A60:
00005A60 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00005A60-00005A66
label00005A60: // (misaligned)
00005A64 6604 bne +0x6 /* 00005A6A */
00005A66 5240 addq.w D0, 1
00005A68 6006 bra +0x8 /* 00005A70 */
label00005A6A:
00005A6A 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00005A6E 5C80 addq.l D0, 6
label00005A70:
00005A70 6000 FF60 bra -0x9E /* 000059D2 */
00005A74 7000 moveq.l D0, 0x00
00005A76 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00005A7A 6000 FF56 bra -0xA8 /* 000059D2 */
label00005A7E:
00005A7E 7000 moveq.l D0, 0x00
label00005A80:
00005A80 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00005A84 5240 addq.w D0, 1
00005A86 6000 FF4A bra -0xB4 /* 000059D2 */
00005A8A 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00005A90 6738 beq +0x3A /* 00005ACA */
00005A92 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00005A98 6734 beq +0x36 /* 00005ACE */
fn00005A9A:
00005A9A 204F movea.l A0, A7
00005A9C F280 0000 fnop
00005AA0 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00005AA2 3017 move.w D0, [A7]
00005AA4 2E48 movea.l A7, A0
00005AA6 0C40 1F18 cmpi.w D0, 0x1F18
00005AAA 6716 beq +0x18 /* 00005AC2 */
00005AAC 0C40 3F18 cmpi.w D0, 0x3F18
label00005AB0:
00005AB0 6710 beq +0x12 /* 00005AC2 */
00005AB2 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00005AB6 670E beq +0x10 /* 00005AC6 */
00005AB8 0C40 1F38 cmpi.w D0, 0x1F38
00005ABC 6708 beq +0xA /* 00005AC6 */
00005ABE 7000 moveq.l D0, 0x00
00005AC0 600E bra +0x10 /* 00005AD0 */
label00005AC2:
00005AC2 7001 moveq.l D0, 0x01
00005AC4 600A bra +0xC /* 00005AD0 */
label00005AC6:
00005AC6 7002 moveq.l D0, 0x02
00005AC8 6006 bra +0x8 /* 00005AD0 */
label00005ACA:
00005ACA 7003 moveq.l D0, 0x03
00005ACC 6002 bra +0x4 /* 00005AD0 */
label00005ACE:
00005ACE 7000 moveq.l D0, 0x00
label00005AD0:
00005AD0 6000 FF00 bra -0xFE /* 000059D2 */
00005AD4 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00005ADA 6E1C bgt +0x1E /* 00005AF8 */
00005ADC 303C A89F move.w D0, 0xA89F
00005AE0 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005AE2 2408 move.l D2, A0
00005AE4 203C 0000 AB03 move.l D0, 0xAB03
00005AEA A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005AEC 203C 0000 0100 move.l D0, 0x100
00005AF2 B488 cmp.l D2, A0
00005AF4 6606 bne +0x8 /* 00005AFC */
00005AF6 600A bra +0xC /* 00005B02 */
label00005AF8:
00005AF8 7000 moveq.l D0, 0x00
00005AFA 6006 bra +0x8 /* 00005B02 */
label00005AFC:
00005AFC 203C 0000 0200 move.l D0, 0x200
label00005B02:
00005B02 6000 FECE bra -0x130 /* 000059D2 */
00005B06 1038 021E move.b D0, [0x0000021E /* KbdType */]
00005B0A 41FA 0016 lea.l A0, [PC + 0x16 /* 00005B22, value 0x3130B02 */]
00005B0E 2248 movea.l A1, A0
label00005B10:
00005B10 1218 move.b D1, [A0]+
00005B12 6700 FED2 beq -0x12C /* 000059E6 */
00005B16 B200 cmp.b D1, D0
00005B18 66F6 bne -0x8 /* 00005B10 */
00005B1A 91C9 sub.l A0, A1
00005B1C 2008 move.l D0, A0
00005B1E 6000 FEB2 bra -0x14C /* 000059D2 */
00005B22 0313 btst [A3], D1
00005B24 0B02 btst D2, D5
00005B26 0106 btst D6, D0
00005B28 0704 btst D4, D3
00005B2A 0508 btst A0, D2
00005B2C 0900 btst D0, D4
00005B2E 7000 moveq.l D0, 0x00
00005B30 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00005B34 6B16 bmi +0x18 /* 00005B4C */
00005B36 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00005B3A 0201 000F andi.b D1, 0xF
00005B3E 0C01 0001 cmpi.b D1, 0x1
00005B42 6608 bne +0xA /* 00005B4C */
00005B44 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00005B48 1028 0007 move.b D0, [A0 + 0x7]
label00005B4C:
00005B4C 6000 FE84 bra -0x17A /* 000059D2 */
00005B50 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00005B56 6D16 blt +0x18 /* 00005B6E */
00005B58 7000 moveq.l D0, 0x00
00005B5A 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00005B5E 0C00 0001 cmpi.b D0, 0x1
00005B62 670C beq +0xE /* 00005B70 */
00005B64 0C00 0003 cmpi.b D0, 0x3
00005B68 6D04 blt +0x6 /* 00005B6E */
00005B6A 5340 subq.w D0, 1
00005B6C 6002 bra +0x4 /* 00005B70 */
label00005B6E:
00005B6E 7000 moveq.l D0, 0x00
label00005B70:
00005B70 6000 FE60 bra -0x19E /* 000059D2 */
00005B74 303C A89F move.w D0, 0xA89F
00005B78 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005B7A 2408 move.l D2, A0
00005B7C 203C 0000 A88F move.l D0, 0xA88F
00005B82 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005B84 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00005B88 B488 cmp.l D2, A0
00005B8A 670A beq +0xC /* 00005B96 */
00005B8C 598F subq.l A7, 4
00005B8E 3F3C 0016 move.w -[A7], 0x16
00005B92 A88F syscall OSDispatch
00005B94 201F move.l D0, [A7]+
label00005B96:
00005B96 6000 FE3A bra -0x1C4 /* 000059D2 */
export_31:
fn00005B9A:
00005B9A 225F movea.l A1, [A7]+
00005B9C 205F movea.l A0, [A7]+
00005B9E A025 syscall GetHandleSize
00005BA0 2E80 move.l [A7], D0
00005BA2 6A02 bpl +0x4 /* 00005BA6 */
00005BA4 4297 clr.l [A7]
label00005BA6:
00005BA6 4ED1 jmp [A1]
fn00005BA8:
00005BA8 225F movea.l A1, [A7]+
00005BAA 121F move.b D1, [A7]+
00005BAC 301F move.w D0, [A7]+
00005BAE 4A01 tst.b D1
00005BB0 6704 beq +0x6 /* 00005BB6 */
00005BB2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005BB4 6002 bra +0x4 /* 00005BB8 */
label00005BB6:
00005BB6 A346 syscall GetOSTrapAddress, flags=3
label00005BB8:
00005BB8 2E88 move.l [A7], A0
00005BBA 4ED1 jmp [A1]
export_32:
00005BBC 206F 000C movea.l A0, [A7 + 0xC]
00005BC0 226F 0008 movea.l A1, [A7 + 0x8]
00005BC4 7000 moveq.l D0, 0x00
00005BC6 1018 move.b D0, [A0]+
00005BC8 4840 swap.w D0
00005BCA 1019 move.b D0, [A1]+
00005BCC 4A2F 0004 tst.b [A7 + 0x4]
00005BD0 670E beq +0x10 /* 00005BE0 */
00005BD2 4A2F 0006 tst.b [A7 + 0x6]
00005BD6 6704 beq +0x6 /* 00005BDC */
00005BD8 A43C syscall CmpString, flags=4
00005BDA 6010 bra +0x12 /* 00005BEC */
label00005BDC:
00005BDC A03C syscall CmpString
00005BDE 600C bra +0xE /* 00005BEC */
label00005BE0:
00005BE0 4A2F 0006 tst.b [A7 + 0x6]
00005BE4 6704 beq +0x6 /* 00005BEA */
00005BE6 A63C syscall CmpString, flags=6
00005BE8 6002 bra +0x4 /* 00005BEC */
label00005BEA:
00005BEA A23C syscall CmpString, flags=2
label00005BEC:
00005BEC 0A00 0001 xori.b D0, 0x1
00005BF0 1F40 0010 move.b [A7 + 0x10], D0
00005BF4 205F movea.l A0, [A7]+
00005BF6 4FEF 000C lea.l A7, [A7 + 0xC]
00005BFA 4ED0 jmp [A0]
export_33:
fn00005BFC:
00005BFC 4E56 FFCE link A6, -0x0032
00005C00 204F movea.l A0, A7
00005C02 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00005C08 A001 syscall Close
00005C0A 3D40 000A move.w [A6 + 0xA], D0
00005C0E 4E5E unlink A6
00005C10 205F movea.l A0, [A7]+
00005C12 548F addq.l A7, 2
00005C14 4ED0 jmp [A0]
export_34:
fn00005C16:
00005C16 51C1 sf D1
00005C18 6002 bra +0x4 /* 00005C1C */
export_35:
00005C1A 50C1 st D1
label00005C1C:
00005C1C 4E56 FFCE link A6, -0x0032
00005C20 204F movea.l A0, A7
00005C22 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00005C28 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00005C2E 226E 000C movea.l A1, [A6 + 0xC]
00005C32 2151 0024 move.l [A0 + 0x24], [A1]
00005C36 4268 002C clr.w [A0 + 0x2C]
00005C3A 42A8 002E clr.l [A0 + 0x2E]
00005C3E 4A01 tst.b D1
00005C40 6604 bne +0x6 /* 00005C46 */
00005C42 A002 syscall Read
00005C44 6002 bra +0x4 /* 00005C48 */
label00005C46:
00005C46 A003 syscall Write
label00005C48:
00005C48 3D40 0012 move.w [A6 + 0x12], D0
00005C4C 226E 000C movea.l A1, [A6 + 0xC]
00005C50 22A8 0028 move.l [A1], [A0 + 0x28]
00005C54 4E5E unlink A6
00005C56 225F movea.l A1, [A7]+
00005C58 4FEF 000A lea.l A7, [A7 + 0xA]
00005C5C 4ED1 jmp [A1]
export_36:
00005C5E 4E56 FFC0 link A6, -0x0040
00005C62 204F movea.l A0, A7
00005C64 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00005C6A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00005C70 A013 syscall FlushVol
00005C72 3D40 000E move.w [A6 + 0xE], D0
00005C76 4E5E unlink A6
00005C78 225F movea.l A1, [A7]+
00005C7A 5C8F addq.l A7, 6
00005C7C 4ED1 jmp [A1]
export_37:
fn00005C7E:
00005C7E 4E56 FFCE link A6, -0x0032
00005C82 204F movea.l A0, A7
00005C84 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00005C8A A011 syscall GetEOF
00005C8C 3D40 000E move.w [A6 + 0xE], D0
00005C90 226E 0008 movea.l A1, [A6 + 0x8]
00005C94 22A8 001C move.l [A1], [A0 + 0x1C]
00005C98 4E5E unlink A6
00005C9A 225F movea.l A1, [A7]+
00005C9C 5C8F addq.l A7, 6
00005C9E 4ED1 jmp [A1]
export_38:
00005CA0 4E56 FFCE link A6, -0x0032
00005CA4 204F movea.l A0, A7
00005CA6 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00005CAC 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00005CB2 A012 syscall SetEOF
00005CB4 3D40 000E move.w [A6 + 0xE], D0
00005CB8 4E5E unlink A6
00005CBA 225F movea.l A1, [A7]+
00005CBC 5C8F addq.l A7, 6
00005CBE 4ED1 jmp [A1]
export_39:
fn00005CC0:
00005CC0 4E56 FFCE link A6, -0x0032
00005CC4 204F movea.l A0, A7
00005CC6 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00005CCC 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00005CD2 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00005CD8 A044 syscall SetFPos
00005CDA 3D40 0010 move.w [A6 + 0x10], D0
00005CDE 4E5E unlink A6
00005CE0 225F movea.l A1, [A7]+
00005CE2 508F addq.l A7, 8
00005CE4 4ED1 jmp [A1]
fn00005CE6:
00005CE6 225F movea.l A1, [A7]+
00005CE8 101F move.b D0, [A7]+
00005CEA 205F movea.l A0, [A7]+
00005CEC 6604 bne +0x6 /* 00005CF2 */
00005CEE A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00005CF0 6002 bra +0x4 /* 00005CF4 */
label00005CF2:
00005CF2 A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00005CF4:
00005CF4 3E80 move.w [A7], D0
00005CF6 4ED1 jmp [A1]
export_40:
fn00005CF8:
00005CF8 343C 000A move.w D2, 0xA /* '\n' */
00005CFC 4EFA 0006 jmp [PC + 0x6 /* 00005D04 */]
00005D00 343C 000C move.w D2, 0xC
label00005D04:
00005D04 226F 0004 movea.l A1, [A7 + 0x4]
00005D08 206F 0008 movea.l A0, [A7 + 0x8]
00005D0C 4240 clr.w D0
00005D0E 4241 clr.w D1
00005D10 1018 move.b D0, [A0]+
00005D12 1219 move.b D1, [A1]+
00005D14 2F48 0008 move.l [A7 + 0x8], A0
00005D18 2F49 0004 move.l [A7 + 0x4], A1
00005D1C 205F movea.l A0, [A7]+
00005D1E 3F00 move.w -[A7], D0
00005D20 3F01 move.w -[A7], D1
00005D22 3F02 move.w -[A7], D2
00005D24 2F08 move.l -[A7], A0
00005D26 ADED syscall Pack6, auto_pop
export_41:
00005D28 206F 0008 movea.l A0, [A7 + 0x8]
00005D2C 3F3C 0001 move.w -[A7], 0x1
00005D30 A9EE syscall Pack7/DecStr68K
00005D32 206F 0004 movea.l A0, [A7 + 0x4]
00005D36 2080 move.l [A0], D0
00005D38 4EFA 000E jmp [PC + 0xE /* 00005D48 */]
export_42:
fn00005D3C:
00005D3C 206F 0004 movea.l A0, [A7 + 0x4]
00005D40 202F 0008 move.l D0, [A7 + 0x8]
00005D44 4267 clr.w -[A7]
00005D46 A9EE syscall Pack7/DecStr68K
label00005D48:
00005D48 205F movea.l A0, [A7]+
00005D4A 504F addq.w A7, 8
00005D4C 4ED0 jmp [A0]
fn00005D4E:
00005D4E 202F 0004 move.l D0, [A7 + 0x4]
00005D52 2F40 0008 move.l [A7 + 0x8], D0
00005D56 6726 beq +0x28 /* 00005D7E */
00005D58 2040 movea.l A0, D0
00005D5A 2248 movea.l A1, A0
00005D5C 1019 move.b D0, [A1]+
00005D5E 671E beq +0x20 /* 00005D7E */
label00005D60:
00005D60 1211 move.b D1, [A1]
00005D62 12C0 move.b [A1]+, D0
00005D64 1001 move.b D0, D1
00005D66 66F8 bne -0x6 /* 00005D60 */
00005D68 93C8 sub.l A1, A0
00005D6A 2009 move.l D0, A1
00005D6C 5340 subq.w D0, 1
00005D6E 0C80 0000 00FF cmpi.l D0, 0xFF
00005D74 6F06 ble +0x8 /* 00005D7C */
00005D76 203C 0000 00FF move.l D0, 0xFF
label00005D7C:
00005D7C 1080 move.b [A0], D0
label00005D7E:
00005D7E 225F movea.l A1, [A7]+
00005D80 584F addq.w A7, 4
00005D82 4ED1 jmp [A1]
fn00005D84:
00005D84 225F movea.l A1, [A7]+
00005D86 201F move.l D0, [A7]+
00005D88 2E80 move.l [A7], D0
00005D8A 6712 beq +0x14 /* 00005D9E */
00005D8C 2040 movea.l A0, D0
00005D8E 7000 moveq.l D0, 0x00
00005D90 1010 move.b D0, [A0]
00005D92 6004 bra +0x6 /* 00005D98 */
label00005D94:
00005D94 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00005D98:
00005D98 51C8 FFFA dbf D0, -0x8 /* 00005D94 */
00005D9C 4210 clr.b [A0]
label00005D9E:
00005D9E 4ED1 jmp [A1]
export_43:
00005DA0 206F 0004 movea.l A0, [A7 + 0x4]
00005DA4 2050 movea.l A0, [A0]
00005DA6 A9E1 syscall HandToHand
00005DA8 226F 0004 movea.l A1, [A7 + 0x4]
00005DAC 2288 move.l [A1], A0
00005DAE 3F40 0008 move.w [A7 + 0x8], D0
00005DB2 2E9F move.l [A7], [A7]+
00005DB4 4E75 rts
export_44:
00005DB6 206F 000C movea.l A0, [A7 + 0xC]
00005DBA 202F 0004 move.l D0, [A7 + 0x4]
00005DBE A9E3 syscall PtrToHand
00005DC0 3F40 0010 move.w [A7 + 0x10], D0
00005DC4 226F 0008 movea.l A1, [A7 + 0x8]
00005DC8 2288 move.l [A1], A0
00005DCA 205F movea.l A0, [A7]+
00005DCC 4FEF 000C lea.l A7, [A7 + 0xC]
00005DD0 4ED0 jmp [A0]
export_45:
00005DD2 6118 bsr +0x1A /* 00005DEC */
00005DD4 A9DB syscall TEPaste
label00005DD6:
00005DD6 2E9F move.l [A7], [A7]+
00005DD8 4E75 rts
export_48:
00005DDA 6110 bsr +0x12 /* 00005DEC */
00005DDC A9D6 syscall TECut
00005DDE 60F6 bra -0x8 /* 00005DD6 */
export_47:
00005DE0 610A bsr +0xC /* 00005DEC */
00005DE2 A9D5 syscall TECopy
00005DE4 60F0 bra -0xE /* 00005DD6 */
export_46:
00005DE6 6104 bsr +0x6 /* 00005DEC */
00005DE8 A9D7 syscall TEDelete
00005DEA 60EA bra -0x14 /* 00005DD6 */
fn00005DEC:
00005DEC 206F 0008 movea.l A0, [A7 + 0x8]
00005DF0 4A68 00A4 tst.w [A0 + 0xA4]
00005DF4 6B08 bmi +0xA /* 00005DFE */
00005DF6 225F movea.l A1, [A7]+
00005DF8 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00005DFC 4ED1 jmp [A1]
label00005DFE:
00005DFE 4CDF 0301 movem.l D0,A0,A1, [A7]+
00005E02 4ED0 jmp [A0]
export_49:
00005E04 42A7 clr.l -[A7]
00005E06 594F subq.w A7, 4
00005E08 42A7 clr.l -[A7]
00005E0A 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00005E10 486F 000C pea.l [A7 + 0xC]
00005E14 A9FD syscall GetScrap
00005E16 201F move.l D0, [A7]+
00005E18 584F addq.w A7, 4
00005E1A 6B28 bmi +0x2A /* 00005E44 */
00005E1C 0C80 0000 7D01 cmpi.l D0, 0x7D01
00005E22 6506 bcs +0x8 /* 00005E2A */
00005E24 303C FE0B move.w D0, 0xFE0B
00005E28 601A bra +0x1C /* 00005E44 */
label00005E2A:
00005E2A 42A7 clr.l -[A7]
00005E2C 594F subq.w A7, 4
00005E2E 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00005E32 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00005E38 486F 000C pea.l [A7 + 0xC]
00005E3C A9FD syscall GetScrap
00005E3E 201F move.l D0, [A7]+
00005E40 584F addq.w A7, 4
00005E42 6A06 bpl +0x8 /* 00005E4A */
label00005E44:
00005E44 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
00005E48 600A bra +0xC /* 00005E54 */
label00005E4A:
00005E4A 426F 0004 clr.w [A7 + 0x4]
00005E4E 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00005E52 7000 moveq.l D0, 0x00
label00005E54:
00005E54 3F40 0004 move.w [A7 + 0x4], D0
00005E58 4E75 rts
export_50:
00005E5A 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00005E5E A029 syscall HLock
00005E60 594F subq.w A7, 4
00005E62 3F38 0AB0 move.w -[A7], [0x00000AB0 /* TEScrpLength */]
00005E66 4267 clr.w -[A7]
00005E68 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00005E6E 2F10 move.l -[A7], [A0]
00005E70 A9FE syscall PutScrap
00005E72 544F addq.w A7, 2
00005E74 3F5F 0004 move.w [A7 + 0x4], [A7]+
00005E78 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00005E7C A02A syscall HUnlock
00005E7E 4E75 rts
export_51:
fn00005E80:
00005E80 4E56 0000 link A6, 0
00005E84 594F subq.w A7, 4
00005E86 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00005E8C 3F2E 000A move.w -[A7], [A6 + 0xA]
00005E90 A9A0 syscall GetResource
00005E92 226E 000C movea.l A1, [A6 + 0xC]
00005E96 4211 clr.b [A1]
00005E98 201F move.l D0, [A7]+
00005E9A 6722 beq +0x24 /* 00005EBE */
00005E9C 2040 movea.l A0, D0
00005E9E 2050 movea.l A0, [A0]
00005EA0 3018 move.w D0, [A0]+
00005EA2 322E 0008 move.w D1, [A6 + 0x8]
00005EA6 6716 beq +0x18 /* 00005EBE */
00005EA8 B240 cmp.w D1, D0
00005EAA 6212 bhi +0x14 /* 00005EBE */
00005EAC 7000 moveq.l D0, 0x00
label00005EAE:
00005EAE 5341 subq.w D1, 1
00005EB0 6706 beq +0x8 /* 00005EB8 */
00005EB2 1018 move.b D0, [A0]+
00005EB4 D1C0 add.l A0, D0
00005EB6 60F6 bra -0x8 /* 00005EAE */
label00005EB8:
00005EB8 1010 move.b D0, [A0]
00005EBA 5240 addq.w D0, 1
00005EBC A02E syscall BlockMove/BlockMoveData
label00005EBE:
00005EBE 4E5E unlink A6
00005EC0 205F movea.l A0, [A7]+
00005EC2 508F addq.l A7, 8
00005EC4 4ED0 jmp [A0]
export_52:
00005EC6 4E56 0000 link A6, 0
00005ECA 594F subq.w A7, 4
00005ECC 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00005ED2 3F2E 000A move.w -[A7], [A6 + 0xA]
00005ED6 A9A0 syscall GetResource
00005ED8 226E 000C movea.l A1, [A6 + 0xC]
00005EDC 201F move.l D0, [A7]+
00005EDE 671C beq +0x1E /* 00005EFC */
00005EE0 2040 movea.l A0, D0
00005EE2 2050 movea.l A0, [A0]
00005EE4 3018 move.w D0, [A0]+
00005EE6 322E 0008 move.w D1, [A6 + 0x8]
00005EEA 6710 beq +0x12 /* 00005EFC */
00005EEC B240 cmp.w D1, D0
00005EEE 620C bhi +0xE /* 00005EFC */
label00005EF0:
00005EF0 5341 subq.w D1, 1
00005EF2 6704 beq +0x6 /* 00005EF8 */
00005EF4 5048 addq.w A0, 8
00005EF6 60F8 bra -0x6 /* 00005EF0 */
label00005EF8:
00005EF8 22D8 move.l [A1]+, [A0]+
00005EFA 2290 move.l [A1], [A0]
label00005EFC:
00005EFC 4E5E unlink A6
00005EFE 205F movea.l A0, [A7]+
00005F00 508F addq.l A7, 8
00005F02 4ED0 jmp [A0]
fn00005F04:
00005F04 4E56 0000 link A6, 0
00005F08 48E7 1828 movem.l -[A7], D3,D4,A2,A4
00005F0C 202D FF3E move.l D0, [A5 - 0xC2]
00005F10 6600 0086 bne +0x88 /* 00005F98 */
00005F14 42A7 clr.l -[A7]
00005F16 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00005F1C 487A 00F8 pea.l [PC + 0xF8 /* 00006016, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */]
00005F20 A820 syscall Get1NamedResource
00005F22 285F movea.l A4, [A7]+
00005F24 200C move.l D0, A4
00005F26 6770 beq +0x72 /* 00005F98 */
00005F28 4267 clr.w -[A7]
00005F2A 2F0C move.l -[A7], A4
00005F2C A9A4 syscall HomeResFile
00005F2E 3B5F FF3C move.w [A5 - 0xC4], [A7]+
00005F32 41FA 006C lea.l A0, [PC + 0x6C /* 00005FA0, value 0x4E560000 'NV\0\0', cstring "NV" */]
00005F36 226D FF38 movea.l A1, [A5 - 0xC8]
00005F3A 2269 0016 movea.l A1, [A1 + 0x16]
00005F3E 2348 000C move.l [A1 + 0xC], A0
00005F42 2454 movea.l A2, [A4]
00005F44 7804 moveq.l D4, 0x04
00005F46 0C52 FFFF cmpi.w [A2], 0xFFFF
00005F4A 6706 beq +0x8 /* 00005F52 */
00005F4C 0C52 FFFD cmpi.w [A2], 0xFFFD
00005F50 6606 bne +0x8 /* 00005F58 */
label00005F52:
00005F52 0684 0000 0024 addi.l D4, 0x24 /* '$' */
label00005F58:
00005F58 598F subq.l A7, 4
00005F5A 2F0C move.l -[A7], A4
00005F5C 4EBA FC3C jsr [PC - 0x3C4 /* 00005B9A */]
00005F60 261F move.l D3, [A7]+
00005F62 9684 sub.l D3, D4
00005F64 E483 asr D3, 2
00005F66 2B43 FF3E move.l [A5 - 0xC2], D3
label00005F6A:
00005F6A 4A83 tst.l D3
00005F6C 6726 beq +0x28 /* 00005F94 */
00005F6E 2F0C move.l -[A7], A4
00005F70 A9A2 syscall LoadResource
00005F72 2454 movea.l A2, [A4]
00005F74 D5C4 add.l A2, D4
00005F76 5844 addq.w D4, 4
00005F78 3012 move.w D0, [A2]
00005F7A 0C40 4EAD cmpi.w D0, 0x4EAD
00005F7E 660A bne +0xC /* 00005F8A */
00005F80 302A 0002 move.w D0, [A2 + 0x2]
00005F84 4EB5 0000 jsr [A5 + D0.w]
00005F88 6006 bra +0x8 /* 00005F90 */
label00005F8A:
00005F8A 0C52 41ED cmpi.w [A2], 0x41ED
00005F8E 6604 bne +0x6 /* 00005F94 */
label00005F90:
00005F90 5383 subq.l D3, 1
00005F92 60D6 bra -0x28 /* 00005F6A */
label00005F94:
00005F94 2F0C move.l -[A7], A4
00005F96 A9A3 syscall ReleaseResource
label00005F98:
00005F98 4CDF 1418 movem.l D3,D4,A2,A4, [A7]+
00005F9C 4E5E unlink A6
00005F9E 4E75 rts
00005FA0 4E56 0000 link A6, 0
00005FA4 48E7 1828 movem.l -[A7], D3,D4,A2,A4
00005FA8 302D FF3C move.w D0, [A5 - 0xC4]
00005FAC 6760 beq +0x62 /* 0000600E */
00005FAE 3F00 move.w -[A7], D0
00005FB0 A998 syscall UseResFile
00005FB2 42A7 clr.l -[A7]
00005FB4 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00005FBA 487A 005A pea.l [PC + 0x5A /* 00006016, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */]
00005FBE A820 syscall Get1NamedResource
00005FC0 285F movea.l A4, [A7]+
00005FC2 200C move.l D0, A4
00005FC4 6748 beq +0x4A /* 0000600E */
00005FC6 2454 movea.l A2, [A4]
00005FC8 7804 moveq.l D4, 0x04
00005FCA 0C52 FFFF cmpi.w [A2], 0xFFFF
00005FCE 6706 beq +0x8 /* 00005FD6 */
00005FD0 0C52 FFFD cmpi.w [A2], 0xFFFD
00005FD4 6606 bne +0x8 /* 00005FDC */
label00005FD6:
00005FD6 0684 0000 0024 addi.l D4, 0x24 /* '$' */
label00005FDC:
00005FDC 262D FF3E move.l D3, [A5 - 0xC2]
00005FE0 2003 move.l D0, D3
00005FE2 E580 asl D0, 2
00005FE4 D880 add.l D4, D0
00005FE6 5243 addq.w D3, 1
label00005FE8:
00005FE8 4A83 tst.l D3
00005FEA 671E beq +0x20 /* 0000600A */
00005FEC 2F0C move.l -[A7], A4
00005FEE A9A2 syscall LoadResource
00005FF0 2454 movea.l A2, [A4]
00005FF2 D5C4 add.l A2, D4
00005FF4 5944 subq.w D4, 4
00005FF6 3012 move.w D0, [A2]
00005FF8 0C40 41ED cmpi.w D0, 0x41ED
00005FFC 6608 bne +0xA /* 00006006 */
00005FFE 302A 0002 move.w D0, [A2 + 0x2]
00006002 4EB5 0000 jsr [A5 + D0.w]
label00006006:
00006006 5383 subq.l D3, 1
00006008 60DE bra -0x20 /* 00005FE8 */
label0000600A:
0000600A 2F0C move.l -[A7], A4
0000600C A9A3 syscall ReleaseResource
label0000600E:
0000600E 4CDF 1418 movem.l D3,D4,A2,A4, [A7]+
00006012 4E5E unlink A6
00006014 4E75 rts
00006016 2825 move.l D4, -[A5]
00006018 5F53 subq.w [A3], 7
0000601A 7461 moveq.l D2, 0x61
0000601C 7469 moveq.l D2, 0x69
0000601E 635F bls +0x61 /* 0000607F */
00006020 436F 6E73 chk.w D1, [A7 + 0x6E73]
00006024 7472 moveq.l D2, 0x72
00006026 7563 moveq.l D2, 0x63
00006028 746F moveq.l D2, 0x6F
0000602A 725F moveq.l D1, 0x5F
0000602C 4465 neg.w -[A5]
0000602E 7374 moveq.l D1, 0x74
00006030 7275 moveq.l D1, 0x75
00006032 6374 bls +0x76 /* 000060A8 */
00006034 6F72 ble +0x74 /* 000060A8 */
00006036 5F50 subq.w [A0], 7
00006038 6F69 ble +0x6B /* 000060A3 */
0000603A 6E74 bgt +0x76 /* 000060B0 */
0000603C 6572 bcs +0x74 /* 000060B0 */
0000603E 7300 moveq.l D1, 0x00
fn00006040:
00006040 4E56 FF78 link A6, -0x0088
00006044 48E7 1820 movem.l -[A7], D3,D4,A2
00006048 246E 0008 movea.l A2, [A6 + 0x8]
0000604C 554F subq.w A7, 2
0000604E 3F3C A1AD move.w -[A7], 0xA1AD
00006052 4EBA 0448 jsr [PC + 0x448 /* 0000649C */]
00006056 101F move.b D0, [A7]+
00006058 6750 beq +0x52 /* 000060AA */
0000605A 554F subq.w A7, 2
0000605C 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
00006062 486E FF78 pea.l [A6 - 0x88]
00006066 4EBA F924 jsr [PC - 0x6DC /* 0000598C */]
0000606A 381F move.w D4, [A7]+
0000606C 663C bne +0x3E /* 000060AA */
0000606E 0C6E 0700 FF7A cmpi.w [A6 - 0x86], 0x700
00006074 6534 bcs +0x36 /* 000060AA */
00006076 703C moveq.l D0, 0x3C
00006078 2D40 FF84 move.l [A6 - 0x7C], D0
0000607C 2D4A FF88 move.l [A6 - 0x78], A2
00006080 7000 moveq.l D0, 0x00
00006082 2D40 FFBC move.l [A6 - 0x44], D0
00006086 554F subq.w A7, 2
00006088 486E FF7C pea.l [A6 - 0x84]
0000608C 3F3C 0037 move.w -[A7], 0x37 /* '7' */
00006090 A88F syscall OSDispatch
00006092 381F move.w D4, [A7]+
00006094 6618 bne +0x1A /* 000060AE */
00006096 554F subq.w A7, 2
00006098 486E FF7C pea.l [A6 - 0x84]
0000609C 486E FF84 pea.l [A6 - 0x7C]
000060A0 3F3C 003A move.w -[A7], 0x3A /* ':' */
000060A4 A88F syscall OSDispatch
000060A6 381F move.w D4, [A7]+
label000060A8:
000060A8 6004 bra +0x6 /* 000060AE */
label000060AA:
000060AA 383C FDA8 move.w D4, 0xFDA8
label000060AE:
000060AE 4A44 tst.w D4
label000060B0:
000060B0 6728 beq +0x2A /* 000060DA */
000060B2 7000 moveq.l D0, 0x00
000060B4 2D40 FFCC move.l [A6 - 0x34], D0
000060B8 2D4A FFD2 move.l [A6 - 0x2E], A2
000060BC 4243 clr.w D3
000060BE 3D43 FFD6 move.w [A6 - 0x2A], D3
000060C2 554F subq.w A7, 2
000060C4 A994 syscall CurResFile
000060C6 301F move.w D0, [A7]+
000060C8 3D40 FFD8 move.w [A6 - 0x28], D0
000060CC 3D43 FFDC move.w [A6 - 0x24], D3
000060D0 41EE FFC0 lea.l A0, [A6 - 0x40]
000060D4 7008 moveq.l D0, 0x08
000060D6 A260 syscall FSDispatch/HFSDispatch, flags=2
000060D8 3800 move.w D4, D0
label000060DA:
000060DA 4A44 tst.w D4
000060DC 672E beq +0x30 /* 0000610C */
000060DE 207C 0000 0910 movea.l A0, 0x910
000060E4 1010 move.b D0, [A0]
000060E6 7600 moveq.l D3, 0x00
000060E8 1600 move.b D3, D0
000060EA 0C83 0000 0020 cmpi.l D3, 0x20 /* ' ' */
000060F0 6302 bls +0x4 /* 000060F4 */
000060F2 7620 moveq.l D3, 0x20
label000060F4:
000060F4 2003 move.l D0, D3
000060F6 5280 addq.l D0, 1
000060F8 2F00 move.l -[A7], D0
000060FA 2F3C 0000 0910 move.l -[A7], 0x910
00006100 2F0A move.l -[A7], A2
00006102 4EBA 02B0 jsr [PC + 0x2B0 /* 000063B4 */]
00006106 4FEF 000C lea.l A7, [A7 + 0xC]
0000610A 4244 clr.w D4
label0000610C:
0000610C 3004 move.w D0, D4
0000610E 4CDF 0418 movem.l D3,D4,A2, [A7]+
00006112 4E5E unlink A6
00006114 4E75 rts
00006116 8A47 or.w D5, D7
00006118 6574 bcs +0x76 /* 0000618E */
0000611A 4170 704E chk.w D0, [A0 + D7.w + 0x4E]
0000611E 616D bsr +0x6F /* 0000618D */
00006120 6500 0000 bcs +0x2 /* 00006122 */
// begin alternate branch 00006122-00006130
label00006122:
00006122 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00006124: // (misaligned)
00006126 0000 48E7 ori.b D0, 0xE7
0000612A 0038 266E 0010 ori.b [0x00000010 /* __m68k_vec_illegal__ */], 0x6E /* 'n' */
// end alternate branch 00006122-00006130
label00006122: // (misaligned)
fn00006124:
00006124 4E56 0000 link A6, 0
00006128 48E7 0038 movem.l -[A7], A2,A3,A4
0000612C 266E 0010 movea.l A3, [A6 + 0x10]
00006130 286E 0014 movea.l A4, [A6 + 0x14]
00006134 554F subq.w A7, 2
00006136 3F3C A1AD move.w -[A7], 0xA1AD
0000613A 4EBA 0360 jsr [PC + 0x360 /* 0000649C */]
0000613E 101F move.b D0, [A7]+
00006140 206E 0008 movea.l A0, [A6 + 0x8]
00006144 1080 move.b [A0], D0
00006146 207C 0000 0316 movea.l A0, 0x316
0000614C 2010 move.l D0, [A0]
0000614E 2B40 FF74 move.l [A5 - 0x8C], D0
00006152 4A80 tst.l D0
00006154 57C0 seq D0
00006156 4400 neg.b D0
00006158 4880 ext.w D0
0000615A 48C0 ext.l D0
0000615C 2B40 FF70 move.l [A5 - 0x90], D0
00006160 4A80 tst.l D0
00006162 662E bne +0x30 /* 00006192 */
00006164 302D FF76 move.w D0, [A5 - 0x8A]
00006168 7201 moveq.l D1, 0x01
0000616A C041 and.w D0, D1
0000616C 661E bne +0x20 /* 0000618C */
0000616E 206D FF74 movea.l A0, [A5 - 0x8C]
00006172 2010 move.l D0, [A0]
00006174 0C80 4D50 474D cmpi.l D0, 0x4D50474D /* 'MPGM' */
0000617A 6610 bne +0x12 /* 0000618C */
0000617C 2468 0004 movea.l A2, [A0 + 0x4]
00006180 200A move.l D0, A2
00006182 6708 beq +0xA /* 0000618C */
00006184 4A52 tst.w [A2]
00006186 6704 beq +0x6 /* 0000618C */
00006188 7000 moveq.l D0, 0x00
0000618A 6002 bra +0x4 /* 0000618E */
label0000618C:
0000618C 7001 moveq.l D0, 0x01
label0000618E:
0000618E 2B40 FF70 move.l [A5 - 0x90], D0
label00006192:
00006192 202D FF70 move.l D0, [A5 - 0x90]
00006196 673A beq +0x3C /* 000061D2 */
00006198 7000 moveq.l D0, 0x00
0000619A 2B40 FF74 move.l [A5 - 0x8C], D0
0000619E 200B move.l D0, A3
000061A0 6704 beq +0x6 /* 000061A6 */
000061A2 7001 moveq.l D0, 0x01
000061A4 2680 move.l [A3], D0
label000061A6:
000061A6 486D FF4E pea.l [A5 - 0xB2]
000061AA 4EBA FE94 jsr [PC - 0x16C /* 00006040 */]
000061AE 584F addq.w A7, 4
000061B0 41ED FF4E lea.l A0, [A5 - 0xB2]
000061B4 2B48 FF42 move.l [A5 - 0xBE], A0
000061B8 200C move.l D0, A4
000061BA 6706 beq +0x8 /* 000061C2 */
000061BC 41ED FF42 lea.l A0, [A5 - 0xBE]
000061C0 2888 move.l [A4], A0
label000061C2:
000061C2 202E 0018 move.l D0, [A6 + 0x18]
000061C6 675E beq +0x60 /* 00006226 */
000061C8 7000 moveq.l D0, 0x00
000061CA 206E 0018 movea.l A0, [A6 + 0x18]
000061CE 2080 move.l [A0], D0
000061D0 6054 bra +0x56 /* 00006226 */
label000061D2:
000061D2 206D FF74 movea.l A0, [A5 - 0x8C]
000061D6 2068 0004 movea.l A0, [A0 + 0x4]
000061DA 3010 move.w D0, [A0]
000061DC 0C40 5348 cmpi.w D0, 0x5348 /* 'SH' */
000061E0 6708 beq +0xA /* 000061EA */
000061E2 203C 8000 0000 move.l D0, 0x80000000
000061E8 604C bra +0x4E /* 00006236 */
label000061EA:
000061EA 200B move.l D0, A3
000061EC 670E beq +0x10 /* 000061FC */
000061EE 206D FF74 movea.l A0, [A5 - 0x8C]
000061F2 2068 0004 movea.l A0, [A0 + 0x4]
000061F6 2028 0002 move.l D0, [A0 + 0x2]
000061FA 2680 move.l [A3], D0
label000061FC:
000061FC 200C move.l D0, A4
000061FE 670E beq +0x10 /* 0000620E */
00006200 206D FF74 movea.l A0, [A5 - 0x8C]
00006204 2068 0004 movea.l A0, [A0 + 0x4]
00006208 2028 0006 move.l D0, [A0 + 0x6]
0000620C 2880 move.l [A4], D0
label0000620E:
0000620E 202E 0018 move.l D0, [A6 + 0x18]
00006212 6712 beq +0x14 /* 00006226 */
00006214 206D FF74 movea.l A0, [A5 - 0x8C]
00006218 2068 0004 movea.l A0, [A0 + 0x4]
0000621C 2028 000A move.l D0, [A0 + 0xA]
00006220 206E 0018 movea.l A0, [A6 + 0x18]
00006224 2080 move.l [A0], D0
label00006226:
00006226 202E 000C move.l D0, [A6 + 0xC]
0000622A 6708 beq +0xA /* 00006234 */
0000622C 206E 000C movea.l A0, [A6 + 0xC]
00006230 20AD FF70 move.l [A0], [A5 - 0x90]
label00006234:
00006234 7000 moveq.l D0, 0x00
label00006236:
00006236 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000623A 4E5E unlink A6
0000623C 4E75 rts
0000623E 925F sub.w D1, [A7]+
00006240 4765 chk.w D3, -[A5]
00006242 7450 moveq.l D2, 0x50
00006244 726F moveq.l D1, 0x6F
00006246 6772 beq +0x74 /* 000062BA */
00006248 616D bsr +0x6F /* 000062B7 */
0000624A 476C 6F62 chk.w D3, [A4 + 0x6F62]
0000624E 616C bsr +0x6E /* 000062BC */
00006250 7300 moveq.l D1, 0x00
00006252 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006254-00006258
fn00006254:
00006254 4E56 FFFC link A6, -0x0004
// end alternate branch 00006254-00006258
fn00006254: // (misaligned)
00006256 FFFC .invalid <<F/7/7>>
00006258 48E7 1830 movem.l -[A7], D3,D4,A2,A3
0000625C 4EAD 036A jsr [A5 + 0x36A /* export_105 */]
00006260 4A80 tst.l D0
00006262 6600 00C8 bne +0xCA /* 0000632C */
00006266 262E 0008 move.l D3, [A6 + 0x8]
0000626A 2B43 FFB8 move.l [A5 - 0x48], D3
0000626E 206D FFDE movea.l A0, [A5 - 0x22]
00006272 2083 move.l [A0], D3
00006274 486D FFC4 pea.l [A5 - 0x3C]
00006278 486D FFC0 pea.l [A5 - 0x40]
0000627C 486D FFBC pea.l [A5 - 0x44]
00006280 486D FF70 pea.l [A5 - 0x90]
00006284 486E FFFC pea.l [A6 - 0x4]
00006288 4EBA FE9A jsr [PC - 0x166 /* 00006124 */]
0000628C 4FEF 0014 lea.l A7, [A7 + 0x14]
00006290 3800 move.w D4, D0
00006292 6600 0098 bne +0x9A /* 0000632C */
00006296 554F subq.w A7, 2
00006298 42A7 clr.l -[A7]
0000629A 4EBA 042E jsr [PC + 0x42E /* 000066CA */]
0000629E 381F move.w D4, [A7]+
000062A0 6600 008A bne +0x8C /* 0000632C */
000062A4 202D FF70 move.l D0, [A5 - 0x90]
000062A8 6716 beq +0x18 /* 000062C0 */
000062AA 202E 0018 move.l D0, [A6 + 0x18]
000062AE 6644 bne +0x46 /* 000062F4 */
000062B0 594F subq.w A7, 4
000062B2 206D FFC0 movea.l A0, [A5 - 0x40]
000062B6 2F10 move.l -[A7], [A0]
000062B8 4EBA FACA jsr [PC - 0x536 /* 00005D84 */]
// begin alternate branch 000062BA-000062BE
label000062BA:
000062BA FACA 584F .extension 0xACA <<F/2-3/5>> // unimplemented
// end alternate branch 000062BA-000062BE
label000062BA: // (misaligned)
fn000062BC:
000062BC 584F addq.w A7, 4
000062BE 6034 bra +0x36 /* 000062F4 */
label000062C0:
000062C0 202E 0018 move.l D0, [A6 + 0x18]
000062C4 672E beq +0x30 /* 000062F4 */
000062C6 266D FFC0 movea.l A3, [A5 - 0x40]
000062CA 600C bra +0xE /* 000062D8 */
label000062CC:
000062CC 594F subq.w A7, 4
000062CE 2F13 move.l -[A7], [A3]
000062D0 4EBA FA7C jsr [PC - 0x584 /* 00005D4E */]
000062D4 584F addq.w A7, 4
000062D6 584B addq.w A3, 4
label000062D8:
000062D8 4A93 tst.l [A3]
000062DA 66F0 bne -0xE /* 000062CC */
000062DC 266D FFC4 movea.l A3, [A5 - 0x3C]
000062E0 600C bra +0xE /* 000062EE */
label000062E2:
000062E2 594F subq.w A7, 4
000062E4 2F0A move.l -[A7], A2
000062E6 4EBA FA66 jsr [PC - 0x59A /* 00005D4E */]
000062EA 584F addq.w A7, 4
000062EC 584B addq.w A3, 4
label000062EE:
000062EE 2453 movea.l A2, [A3]
000062F0 200A move.l D0, A2
000062F2 66EE bne -0x10 /* 000062E2 */
label000062F4:
000062F4 202E 000C move.l D0, [A6 + 0xC]
000062F8 6708 beq +0xA /* 00006302 */
000062FA 206E 000C movea.l A0, [A6 + 0xC]
000062FE 20AD FFBC move.l [A0], [A5 - 0x44]
label00006302:
00006302 202E 0010 move.l D0, [A6 + 0x10]
00006306 6708 beq +0xA /* 00006310 */
00006308 206E 0010 movea.l A0, [A6 + 0x10]
0000630C 20AD FFC0 move.l [A0], [A5 - 0x40]
label00006310:
00006310 202E 0014 move.l D0, [A6 + 0x14]
00006314 6708 beq +0xA /* 0000631E */
00006316 206E 0014 movea.l A0, [A6 + 0x14]
0000631A 20AD FFC4 move.l [A0], [A5 - 0x3C]
label0000631E:
0000631E 486D FF78 pea.l [A5 - 0x88]
00006322 4EBA 0298 jsr [PC + 0x298 /* 000065BC */]
00006326 584F addq.w A7, 4
00006328 4A80 tst.l D0
0000632A 6704 beq +0x6 /* 00006330 */
label0000632C:
0000632C 70FF moveq.l D0, 0xFFFFFFFF
0000632E 600E bra +0x10 /* 0000633E */
label00006330:
00006330 4EBA FBD2 jsr [PC - 0x42E /* 00005F04 */]
00006334 7000 moveq.l D0, 0x00
00006336 2B40 FF90 move.l [A5 - 0x70], D0
0000633A 202D FF70 move.l D0, [A5 - 0x90]
label0000633E:
0000633E 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00006342 4E5E unlink A6
00006344 4E75 rts
00006346 875F or.w [A7]+, D3
00006348 5254 addq.w [A4], 1
0000634A 496E 6974 chk.w D4, [A6 + 0x6974]
0000634E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006350-00006354
fn00006350:
00006350 4E56 FFC0 link A6, -0x0040
// end alternate branch 00006350-00006354
fn00006350: // (misaligned)
00006352 FFC0 .invalid <<F/7/7>>
00006354 202D FF70 move.l D0, [A5 - 0x90]
00006358 6616 bne +0x18 /* 00006370 */
0000635A 202E 0008 move.l D0, [A6 + 0x8]
0000635E 0280 00FF FFFF andi.l D0, 0xFFFFFF
00006364 206D FF74 movea.l A0, [A5 - 0x8C]
00006368 2068 0004 movea.l A0, [A0 + 0x4]
0000636C 2140 000E move.l [A0 + 0xE], D0
label00006370:
00006370 7040 moveq.l D0, 0x40
00006372 2F00 move.l -[A7], D0
00006374 486D FF78 pea.l [A5 - 0x88]
00006378 486E FFC0 pea.l [A6 - 0x40]
0000637C 4EBA 0036 jsr [PC + 0x36 /* 000063B4 */]
00006380 4FEF 000C lea.l A7, [A7 + 0xC]
00006384 4EBA 040A jsr [PC + 0x40A /* 00006790 */]
00006388 202E FFD8 move.l D0, [A6 - 0x28]
0000638C 660A bne +0xC /* 00006398 */
0000638E 206D FFDE movea.l A0, [A5 - 0x22]
00006392 2050 movea.l A0, [A0]
00006394 4E90 jsr [A0]
00006396 600E bra +0x10 /* 000063A6 */
label00006398:
00006398 7001 moveq.l D0, 0x01
0000639A 2F00 move.l -[A7], D0
0000639C 486E FFC0 pea.l [A6 - 0x40]
000063A0 4EBA 0240 jsr [PC + 0x240 /* 000065E2 */]
000063A4 504F addq.w A7, 8
label000063A6:
000063A6 4E5E unlink A6
000063A8 4E75 rts
000063AA 875F or.w [A7]+, D3
000063AC 5254 addq.w [A4], 1
000063AE 4578 6974 chk.w D2, [0x00006974]
000063B2 0000 4CEF ori.b D0, 0xEF
// begin alternate branch 000063B4-000063BC
fn000063B4:
000063B4 4CEF 0300 0004 movem.l A0,A1, [A7 + 0x4]
000063BA 2008 move.l D0, A0
// end alternate branch 000063B4-000063BC
fn000063B4: // (misaligned)
000063B6 0300 btst D0, D1
000063B8 0004 2008 ori.b D4, 0x8
000063BC 2F02 move.l -[A7], D2
000063BE 222F 0010 move.l D1, [A7 + 0x10]
000063C2 0C81 0000 0011 cmpi.l D1, 0x11
000063C8 6D2E blt +0x30 /* 000063F8 */
000063CA 2409 move.l D2, A1
000063CC B102 xor.b D2, D0
000063CE E20A lsr D2.b, 1
000063D0 6526 bcs +0x28 /* 000063F8 */
000063D2 0800 0000 btst.b D0, 0x0
000063D6 6704 beq +0x6 /* 000063DC */
000063D8 10D9 move.b [A0]+, [A1]+
000063DA 5381 subq.l D1, 1
label000063DC:
000063DC 2401 move.l D2, D1
000063DE E88A lsr D2, 4
000063E0 5382 subq.l D2, 1
label000063E2:
000063E2 20D9 move.l [A0]+, [A1]+
000063E4 20D9 move.l [A0]+, [A1]+
000063E6 20D9 move.l [A0]+, [A1]+
000063E8 20D9 move.l [A0]+, [A1]+
000063EA 5382 subq.l D2, 1
000063EC 64F4 bcc -0xA /* 000063E2 */
000063EE 0281 0000 000F andi.l D1, 0xF
000063F4 6002 bra +0x4 /* 000063F8 */
label000063F6:
000063F6 10D9 move.b [A0]+, [A1]+
label000063F8:
000063F8 5381 subq.l D1, 1
000063FA 64FA bcc -0x4 /* 000063F6 */
000063FC 241F move.l D2, [A7]+
000063FE 4E75 rts
00006400 875F or.w [A7]+, D3
00006402 6D65 blt +0x67 /* 00006469 */
00006404 6D63 blt +0x65 /* 00006469 */
00006406 7079 moveq.l D0, 0x79
00006408 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000640A-00006412
fn0000640A:
0000640A 4E56 0000 link A6, 0
0000640E 48E7 1020 movem.l -[A7], D3,A2
// end alternate branch 0000640A-00006412
fn0000640A: // (misaligned)
0000640C 0000 48E7 ori.b D0, 0xE7
00006410 1020 move.b D0, -[A0]
00006412 594F subq.w A7, 4
00006414 3F3C A86E move.w -[A7], 0xA86E
00006418 7601 moveq.l D3, 0x01
0000641A 1F03 move.b -[A7], D3
0000641C 4EBA F78A jsr [PC - 0x876 /* 00005BA8 */]
00006420 205F movea.l A0, [A7]+
00006422 2448 movea.l A2, A0
00006424 594F subq.w A7, 4
00006426 3F3C AA6E move.w -[A7], 0xAA6E
0000642A 1F03 move.b -[A7], D3
0000642C 4EBA F77A jsr [PC - 0x886 /* 00005BA8 */]
00006430 225F movea.l A1, [A7]+
00006432 204A movea.l A0, A2
00006434 B1C9 cmpa.l A0, A1
00006436 660A bne +0xC /* 00006442 */
00006438 303C 0200 move.w D0, 0x200
0000643C 3D40 0008 move.w [A6 + 0x8], D0
00006440 6008 bra +0xA /* 0000644A */
label00006442:
00006442 303C 0400 move.w D0, 0x400
00006446 3D40 0008 move.w [A6 + 0x8], D0
label0000644A:
0000644A 4CDF 0408 movem.l D3,A2, [A7]+
0000644E 4E5E unlink A6
00006450 4E75 rts
00006452 915F sub.w [A7]+, D0
00006454 5F4E subq.w A6, 7
00006456 554D subq.w A5, 2
00006458 544F addq.w A7, 2
0000645A 4F4C chk.w D7, A4
0000645C 424F clr.w A7
0000645E 5854 addq.w [A4], 4
00006460 5241 addq.w D1, 1
00006462 5053 addq.w [A3], 8
00006464 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006466-00006474
fn00006466:
00006466 4E56 0000 link A6, 0
0000646A 302E 0008 move.w D0, [A6 + 0x8]
0000646E 0240 0800 andi.w D0, 0x800
00006472 4A40 tst.w D0
// end alternate branch 00006466-00006474
fn00006466: // (misaligned)
00006468 0000 302E ori.b D0, 0x2E /* '.' */
0000646C 0008 0240 ori.b A0, 0x40 /* '@' */
00006470 0800 4A40 btst.b D0, 0x40 /* '@' */
00006474 6F08 ble +0xA /* 0000647E */
00006476 7001 moveq.l D0, 0x01
00006478 1D40 000A move.b [A6 + 0xA], D0
0000647C 6006 bra +0x8 /* 00006484 */
label0000647E:
0000647E 4200 clr.b D0
00006480 1D40 000A move.b [A6 + 0xA], D0
label00006484:
00006484 4E5E unlink A6
00006486 205F movea.l A0, [A7]+
00006488 544F addq.w A7, 2
0000648A 4ED0 jmp [A0]
0000648C 8D5F or.w [A7]+, D6
0000648E 5F47 subq.w D7, 7
00006490 4554 chk.w D2, [A4]
00006492 5452 addq.w [A2], 2
00006494 4150 chk.w D0, [A0]
00006496 5459 addq.w [A1]+, 2
00006498 5045 addq.w D5, 8
0000649A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000649C-000064A0
fn0000649C:
0000649C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000649C-000064A0
fn0000649C: // (misaligned)
0000649E FFFC .invalid <<F/7/7>>
000064A0 48E7 1020 movem.l -[A7], D3,A2
000064A4 362E 0008 move.w D3, [A6 + 0x8]
000064A8 554F subq.w A7, 2
000064AA 3F03 move.w -[A7], D3
000064AC 4EBA FFB8 jsr [PC - 0x48 /* 00006466 */]
000064B0 101F move.b D0, [A7]+
000064B2 1D40 FFFC move.b [A6 - 0x4], D0
000064B6 7201 moveq.l D1, 0x01
000064B8 B001 cmp.b D0, D1
000064BA 6614 bne +0x16 /* 000064D0 */
000064BC 0243 07FF andi.w D3, 0x7FF
000064C0 554F subq.w A7, 2
000064C2 4EBA FF46 jsr [PC - 0xBA /* 0000640A */]
000064C6 301F move.w D0, [A7]+
000064C8 B043 cmp.w D0, D3
000064CA 6E04 bgt +0x6 /* 000064D0 */
000064CC 363C A89F move.w D3, 0xA89F
label000064D0:
000064D0 594F subq.w A7, 4
000064D2 3F03 move.w -[A7], D3
000064D4 1F2E FFFC move.b -[A7], [A6 - 0x4]
000064D8 4EBA F6CE jsr [PC - 0x932 /* 00005BA8 */]
000064DC 205F movea.l A0, [A7]+
000064DE 2448 movea.l A2, A0
000064E0 594F subq.w A7, 4
000064E2 3F3C A89F move.w -[A7], 0xA89F
000064E6 7001 moveq.l D0, 0x01
000064E8 1F00 move.b -[A7], D0
000064EA 4EBA F6BC jsr [PC - 0x944 /* 00005BA8 */]
000064EE 225F movea.l A1, [A7]+
000064F0 204A movea.l A0, A2
000064F2 B1C9 cmpa.l A0, A1
000064F4 6604 bne +0x6 /* 000064FA */
000064F6 7000 moveq.l D0, 0x00
000064F8 6002 bra +0x4 /* 000064FC */
label000064FA:
000064FA 7001 moveq.l D0, 0x01
label000064FC:
000064FC 2000 move.l D0, D0
000064FE 1D40 000A move.b [A6 + 0xA], D0
00006502 4CDF 0408 movem.l D3,A2, [A7]+
00006506 4E5E unlink A6
00006508 205F movea.l A0, [A7]+
0000650A 544F addq.w A7, 2
0000650C 4ED0 jmp [A0]
0000650E 8D54 or.w [A4], D6
00006510 5241 addq.w D1, 1
00006512 5041 addq.w D1, 8
00006514 5641 addq.w D1, 3
00006516 494C chk.w D4, A4
00006518 4142 chk.w D0, D2
0000651A 4C45 0000 movem.l <none>, D5
export_0:
0000651E 205F movea.l A0, [A7]+
00006520 4E56 0000 link A6, 0
00006524 2B48 FFB8 move.l [A5 - 0x48], A0
00006528 200F move.l D0, A7
0000652A 72F8 moveq.l D1, 0xFFFFFFF8
0000652C C081 and.l D0, D1
0000652E 2E40 movea.l A7, D0
00006530 4EBA 0012 jsr [PC + 0x12 /* 00006544 */]
00006534 206D FFB8 movea.l A0, [A5 - 0x48]
00006538 4E5E unlink A6
0000653A 4ED0 jmp [A0]
0000653C 8725 or.b -[A5], D3
0000653E 5F5F subq.w [A7]+, 7
00006540 4D41 chk.w D6, D1
00006542 494E chk.w D4, A6
fn00006544:
00006544 2F03 move.l -[A7], D3
00006546 42A7 clr.l -[A7]
00006548 42A7 clr.l -[A7]
0000654A 42A7 clr.l -[A7]
0000654C 42A7 clr.l -[A7]
0000654E 2F2D FFB8 move.l -[A7], [A5 - 0x48]
00006552 4EBA FD00 jsr [PC - 0x300 /* 00006254 */]
00006556 4FEF 0014 lea.l A7, [A7 + 0x14]
0000655A 72FF moveq.l D1, 0xFFFFFFFF
0000655C B081 cmp.l D0, D1
0000655E 660C bne +0xE /* 0000656C */
00006560 487A 003C pea.l [PC + 0x3C /* 0000659E, value 0x1B446174, pstring "Data initialization failed!" */]
00006564 303C FE15 move.w D0, 0xFE15
00006568 A9C9 syscall SysError
0000656A 602C bra +0x2E /* 00006598 */
label0000656C:
0000656C 486D FF78 pea.l [A5 - 0x88]
00006570 4EBA 004A jsr [PC + 0x4A /* 000065BC */]
00006574 584F addq.w A7, 4
00006576 4A80 tst.l D0
00006578 661E bne +0x20 /* 00006598 */
0000657A 2F2D FFC4 move.l -[A7], [A5 - 0x3C]
0000657E 2F2D FFC0 move.l -[A7], [A5 - 0x40]
00006582 2F2D FFBC move.l -[A7], [A5 - 0x44]
00006586 4EBA E764 jsr [PC - 0x189C /* 00004CEC */]
0000658A 4FEF 000C lea.l A7, [A7 + 0xC]
0000658E 2600 move.l D3, D0
00006590 2F03 move.l -[A7], D3
00006592 4EBA FDBC jsr [PC - 0x244 /* 00006350 */]
00006596 584F addq.w A7, 4
label00006598:
00006598 261F move.l D3, [A7]+
0000659A 4E75 rts
0000659C 001E 1B44 ori.b [A6]+, 0x44 /* 'D' */
000065A0 6174 bsr +0x76 /* 00006616 */
000065A2 6120 bsr +0x22 /* 000065C4 */
000065A4 696E bvs +0x70 /* 00006614 */
000065A6 6974 bvs +0x76 /* 0000661C */
000065A8 6961 bvs +0x63 /* 0000660B */
000065AA 6C69 bge +0x6B /* 00006615 */
000065AC 7A61 moveq.l D5, 0x61
000065AE 7469 moveq.l D2, 0x69
000065B0 6F6E ble +0x70 /* 00006620 */
000065B2 2066 movea.l A0, -[A6]
000065B4 6169 bsr +0x6B /* 0000661F */
000065B6 6C65 bge +0x67 /* 0000661D */
000065B8 6421 bcc +0x23 /* 000065DB */
000065BA 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 000065BC-000065BE
fn000065BC:
000065BC 225F movea.l A1, [A7]+
// end alternate branch 000065BC-000065BE
fn000065BC: // (misaligned)
000065BE 2057 movea.l A0, [A7]
000065C0 217C FF16 B0BF 0030 move.l [A0 + 0x30], 0xFF16B0BF
// begin alternate branch 000065C4-000065CC
fn000065C4:
000065C4 B0BF cmp.l D0, <<invalid special address>>
000065C6 0030 214D 0034 ori.b [A0 + D0.w + 0x34], 0x4D /* 'M' */
// end alternate branch 000065C4-000065CC
fn000065C4: // (misaligned)
000065C8 214D 0034 move.l [A0 + 0x34], A5
000065CC 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
000065D0 7000 moveq.l D0, 0x00
000065D2 4ED1 jmp [A1]
000065D4 4E75 rts
000065D6 8808 or.b D4, A0
000065D8 5F5F subq.w [A7]+, 7
000065DA 7365 moveq.l D1, 0x65
000065DC 746A moveq.l D2, 0x6A
000065DE 6D70 blt +0x72 /* 00006650 */
000065E0 0000 202F ori.b D0, 0x2F /* '/' */
// begin alternate branch 000065E2-000065E8
fn000065E2:
000065E2 202F 0008 move.l D0, [A7 + 0x8]
000065E6 6602 bne +0x4 /* 000065EA */
// end alternate branch 000065E2-000065E8
fn000065E2: // (misaligned)
000065E4 0008 6602 ori.b A0, 0x2
000065E8 7001 moveq.l D0, 0x01
label000065EA:
000065EA 206F 0004 movea.l A0, [A7 + 0x4]
000065EE 2228 0030 move.l D1, [A0 + 0x30]
000065F2 0C81 FFD0 68CF cmpi.l D1, 0xFFD068CF
000065F8 6708 beq +0xA /* 00006602 */
000065FA 0C81 FF16 B0BF cmpi.l D1, 0xFF16B0BF
00006600 6604 bne +0x6 /* 00006606 */
label00006602:
00006602 2A68 0034 movea.l A5, [A0 + 0x34]
label00006606:
00006606 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
0000660A 4ED1 jmp [A1]
0000660C 4E75 rts
0000660E 8707 sbcd D3, D7
00006610 6C6F bge +0x71 /* 00006681 */
00006612 6E67 bgt +0x69 /* 0000667B */
label00006614:
00006614 6A6D bpl +0x6F /* 00006683 */
fn00006616:
00006616 7000 moveq.l D0, 0x00
00006618 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000661A-00006626
fn0000661A:
0000661A 4E56 0000 link A6, 0
label0000661C: // (misaligned)
0000661E 48E7 1828 movem.l -[A7], D3,D4,A2,A4
label00006620: // (misaligned)
00006622 202D FFDE move.l D0, [A5 - 0x22]
// end alternate branch 0000661A-00006626
fn0000661A: // (misaligned)
label0000661C:
0000661C 0000 48E7 ori.b D0, 0xE7
label00006620:
00006620 1828 202D move.b D4, [A0 + 0x202D]
00006624 FFDE .invalid <<F/7/7>>
00006626 672E beq +0x30 /* 00006656 */
00006628 202E 0008 move.l D0, [A6 + 0x8]
0000662C 7602 moveq.l D3, 0x02
0000662E E7A0 asl D0, D3
00006630 D0AD FFDE add.l D0, [A5 - 0x22]
00006634 2840 movea.l A4, D0
00006636 282E 000C move.l D4, [A6 + 0xC]
0000663A E7A4 asl D4, D3
0000663C 600E bra +0x10 /* 0000664C */
label0000663E:
0000663E 2454 movea.l A2, [A4]
00006640 200A move.l D0, A2
00006642 6706 beq +0x8 /* 0000664A */
00006644 4E92 jsr [A2]
00006646 7000 moveq.l D0, 0x00
00006648 2880 move.l [A4], D0
label0000664A:
0000664A 594C subq.w A4, 4
label0000664C:
0000664C 206D FFDE movea.l A0, [A5 - 0x22]
label00006650:
00006650 D1C4 add.l A0, D4
00006652 B1CC cmpa.l A0, A4
00006654 63E8 bls -0x16 /* 0000663E */
label00006656:
00006656 4CDF 1418 movem.l D3,D4,A2,A4, [A7]+
0000665A 4E5E unlink A6
0000665C 4E75 rts
0000665E 8C5F or.w D6, [A7]+
00006660 446F 4578 neg.w [A7 + 0x4578]
00006664 6974 bvs +0x76 /* 000066DA */
00006666 5072 6F63 7300 0000 4E56 addq.w [[A2 + 0x7300] + 0x4E56], 8
// begin alternate branch 0000666E-0000667C
fn0000666E:
0000666E 4E56 0000 link A6, 0
00006672 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00006676 2C2E 000C move.l D6, [A6 + 0xC]
0000667A E48E lsr D6, 2
// end alternate branch 0000666E-0000667C
fn0000666E: // (misaligned)
00006670 0000 48E7 ori.b D0, 0xE7
00006674 1F38 2C2E move.b -[A7], [0x00002C2E]
00006678 000C E48E ori.b A4, 0x8E
0000667C 7E00 moveq.l D7, 0x00
0000667E 246E 0008 movea.l A2, [A6 + 0x8]
00006682 6008 bra +0xA /* 0000668C */
label00006684:
00006684 7000 moveq.l D0, 0x00
00006686 2480 move.l [A2], D0
00006688 584A addq.w A2, 4
0000668A 5287 addq.l D7, 1
label0000668C:
0000668C BE86 cmp.l D7, D6
0000668E 6DF4 blt -0xA /* 00006684 */
00006690 2606 move.l D3, D6
00006692 7802 moveq.l D4, 0x02
00006694 E9AB lsl D3, D4
00006696 2A2E 000C move.l D5, [A6 + 0xC]
0000669A B685 cmp.l D3, D5
0000669C 671C beq +0x1E /* 000066BA */
0000669E 202E 0008 move.l D0, [A6 + 0x8]
000066A2 D087 add.l D0, D7
000066A4 E9A0 asl D0, D4
000066A6 2440 movea.l A2, D0
000066A8 264A movea.l A3, A2
000066AA 9A83 sub.l D5, D3
000066AC DA8A add.l D5, A2
000066AE 2845 movea.l A4, D5
000066B0 6004 bra +0x6 /* 000066B6 */
label000066B2:
000066B2 4213 clr.b [A3]
000066B4 524B addq.w A3, 1
label000066B6:
000066B6 B9CB cmpa.l A4, A3
000066B8 62F8 bhi -0x6 /* 000066B2 */
label000066BA:
000066BA 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000066BE 4E5E unlink A6
000066C0 4E75 rts
000066C2 855F or.w [A7]+, D2
000066C4 7A65 moveq.l D5, 0x65
000066C6 726F moveq.l D1, 0x6F
000066C8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000066CA-000066CE
fn000066CA:
000066CA 4E56 FFFC link A6, -0x0004
// end alternate branch 000066CA-000066CE
fn000066CA: // (misaligned)
000066CC FFFC .invalid <<F/7/7>>
000066CE 48E7 1820 movem.l -[A7], D3,D4,A2
000066D2 486D FFD2 pea.l [A5 - 0x2E]
000066D6 486D FFCE pea.l [A5 - 0x32]
label000066DA:
000066DA 486D FFCA pea.l [A5 - 0x36]
000066DE 486D FFFC pea.l [A5 - 0x4]
000066E2 486E FFFC pea.l [A6 - 0x4]
000066E6 4EBA FA3C jsr [PC - 0x5C4 /* 00006124 */]
000066EA 4FEF 0014 lea.l A7, [A7 + 0x14]
000066EE 3600 move.w D3, D0
000066F0 6644 bne +0x46 /* 00006736 */
000066F2 202D FF74 move.l D0, [A5 - 0x8C]
000066F6 6778 beq +0x7A /* 00006770 */
000066F8 206D FF74 movea.l A0, [A5 - 0x8C]
000066FC 2468 0004 movea.l A2, [A0 + 0x4]
00006700 200A move.l D0, A2
00006702 6732 beq +0x34 /* 00006736 */
00006704 3012 move.w D0, [A2]
00006706 B06D FFC8 cmp.w D0, [A5 - 0x38]
0000670A 662A bne +0x2C /* 00006736 */
0000670C 41ED FFC8 lea.l A0, [A5 - 0x38]
00006710 2548 0024 move.l [A2 + 0x24], A0
00006714 246D FF74 movea.l A2, [A5 - 0x8C]
00006718 202A 0004 move.l D0, [A2 + 0x4]
0000671C 2B40 FFEC move.l [A5 - 0x14], D0
00006720 206A 0004 movea.l A0, [A2 + 0x4]
00006724 4AA8 0020 tst.l [A0 + 0x20]
00006728 6746 beq +0x48 /* 00006770 */
0000672A 7078 moveq.l D0, 0x78
0000672C A11E syscall NewPtr, flags=1
0000672E 2B48 FFE8 move.l [A5 - 0x18], A0
00006732 2008 move.l D0, A0
00006734 660A bne +0xC /* 00006740 */
label00006736:
00006736 303C F4FB move.w D0, 0xF4FB
0000673A 3D40 000C move.w [A6 + 0xC], D0
0000673E 6036 bra +0x38 /* 00006776 */
label00006740:
00006740 206D FF74 movea.l A0, [A5 - 0x8C]
00006744 2068 0004 movea.l A0, [A0 + 0x4]
00006748 2468 0020 movea.l A2, [A0 + 0x20]
0000674C 7800 moveq.l D4, 0x00
0000674E 6018 bra +0x1A /* 00006768 */
label00006750:
00006750 204A movea.l A0, A2
00006752 2004 move.l D0, D4
00006754 D0AD FFE8 add.l D0, [A5 - 0x18]
00006758 2240 movea.l A1, D0
0000675A 7005 moveq.l D0, 0x05
label0000675C:
0000675C 22D8 move.l [A1]+, [A0]+
0000675E 51C8 FFFC dbf D0, -0x6 /* 0000675C */
00006762 7618 moveq.l D3, 0x18
00006764 D5C3 add.l A2, D3
00006766 D883 add.l D4, D3
label00006768:
00006768 0C84 0000 0078 cmpi.l D4, 0x78 /* 'x' */
0000676E 65E0 bcs -0x1E /* 00006750 */
label00006770:
00006770 4240 clr.w D0
00006772 3D40 000C move.w [A6 + 0xC], D0
label00006776:
00006776 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000677A 4E5E unlink A6
0000677C 205F movea.l A0, [A7]+
0000677E 584F addq.w A7, 4
00006780 4ED0 jmp [A0]
00006782 8B5F or.w [A7]+, D5
00006784 494E chk.w D4, A6
00006786 5445 addq.w D5, 2
00006788 4E56 494E link A6, -0xFFFFB6B2
0000678C 4954 chk.w D4, [A4]
0000678E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006790-00006798
fn00006790:
00006790 4E56 0000 link A6, 0
00006794 486D FF78 pea.l [A5 - 0x88]
// end alternate branch 00006790-00006798
fn00006790: // (misaligned)
00006792 0000 486D ori.b D0, 0x6D /* 'm' */
00006796 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
00006798 4EBA FE22 jsr [PC - 0x1DE /* 000065BC */]
0000679C 584F addq.w A7, 4
0000679E 4A80 tst.l D0
000067A0 662E bne +0x30 /* 000067D0 */
000067A2 7001 moveq.l D0, 0x01
000067A4 2F00 move.l -[A7], D0
000067A6 702B moveq.l D0, 0x2B
000067A8 2F00 move.l -[A7], D0
000067AA 4EBA FE6E jsr [PC - 0x192 /* 0000661A */]
000067AE 504F addq.w A7, 8
000067B0 202D FFFC move.l D0, [A5 - 0x4]
000067B4 660C bne +0xE /* 000067C2 */
000067B6 202D FFE8 move.l D0, [A5 - 0x18]
000067BA 6706 beq +0x8 /* 000067C2 */
000067BC 206D FFE8 movea.l A0, [A5 - 0x18]
000067C0 A01F syscall DisposPtr/DisposePtr
label000067C2:
000067C2 7040 moveq.l D0, 0x40
000067C4 2F00 move.l -[A7], D0
000067C6 486D FF78 pea.l [A5 - 0x88]
000067CA 4EBA FEA2 jsr [PC - 0x15E /* 0000666E */]
000067CE 504F addq.w A7, 8
label000067D0:
000067D0 4E5E unlink A6
000067D2 4E75 rts
000067D4 8B5F or.w [A7]+, D5
000067D6 494E chk.w D4, A6
000067D8 5445 addq.w D5, 2
000067DA 4E56 5445 link A6, -0xFFFFABBB
000067DE 524D addq.w A5, 1
000067E0 0000 .incomplete